diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7a05421..8ca381e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -41,7 +41,7 @@ jobs: - name: List php modules using "no php ini" mode run: php -m -n - name: Cache module - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.composer/cache/ key: composer-cache diff --git a/LICENSE b/LICENSE index 1b9945a..32a2685 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ * * SOFTWARE : tc-lib-pdf-parser * AUTHOR : Nicola Asuni -* COPYRIGHT : 2011-2023 Nicola Asuni - Tecnick.com LTD +* COPYRIGHT : 2011-2024 Nicola Asuni - Tecnick.com LTD ********************************************************************** This is free software: you can redistribute it and/or modify it diff --git a/Makefile b/Makefile index 062a1db..62dd44d 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,16 @@ # @category Library # @package PdfParser # @author Nicola Asuni -# @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD +# @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD # @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE) # @link https://github.com/tecnickcom/tc-lib-pdf-parser # # This file is part of tc-lib-pdf-parser software library. # ---------------------------------------------------------------------------------------------------------------------- +SHELL=/bin/bash +.SHELLFLAGS=-o pipefail -c + # Project owner OWNER=tecnickcom @@ -111,6 +114,9 @@ help: .PHONY: all all: help +# Full build and test sequence +.PHONY: x +x: buildall # Full build and test sequence .PHONY: buildall diff --git a/README.md b/README.md index 2ade32a..2c9e01f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ * **category** Library * **package** \Com\Tecnick\Pdf\Parser * **author** Nicola Asuni -* **copyright** 2015-2023 Nicola Asuni - Tecnick.com LTD +* **copyright** 2015-2024 Nicola Asuni - Tecnick.com LTD * **license** http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * **link** https://github.com/tecnickcom/tc-lib-pdf-parser * **SRC DOC** https://tcpdf.org/docs/srcdoc/tc-lib-pdf-parser diff --git a/RELEASE b/RELEASE index d00491f..573541a 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1 +0 diff --git a/VERSION b/VERSION index 2451c27..67786e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.7 +3.0.8 diff --git a/example/index.php b/example/index.php index a256057..11f86c5 100644 --- a/example/index.php +++ b/example/index.php @@ -6,7 +6,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-color * diff --git a/resources/autoload.php b/resources/autoload.php index e6d6d34..a220b9e 100644 --- a/resources/autoload.php +++ b/resources/autoload.php @@ -8,7 +8,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2015-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2015-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * diff --git a/resources/debian/control b/resources/debian/control index d86d85a..5d01a92 100644 --- a/resources/debian/control +++ b/resources/debian/control @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git Package: ~#PKGNAME#~ Provides: php-~#PROJECT#~ Architecture: all -Depends: php (>= 8.0.0), php-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.10), ${misc:Depends} +Depends: php (>= 8.0.0), php-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.11), ${misc:Depends} Description: PHP PDF Parser Library PHP library to parse PDF documents. diff --git a/resources/debian/copyright b/resources/debian/copyright index ad5f384..68603ae 100644 --- a/resources/debian/copyright +++ b/resources/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: ~#PROJECT#~ Source: https://github.com/~#VENDOR#~/~#PROJECT#~ Files: * -Copyright: Copyright 2001-2023 Nicola Asuni +Copyright: Copyright 2001-2024 Nicola Asuni License: LGPL-3 License: LGPL-3 diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index d7afa77..07900af 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -18,7 +18,7 @@ BuildArch: noarch Requires: php(language) >= 8.0.0 Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.10 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.11 Requires: php-pcre Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version} @@ -45,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT #%config(noreplace) %{_configpath}* %changelog -* Thu Jul 02 2015 Nicola Asuni 2.1.0-1 +* Thu Jul 02 2024 Nicola Asuni 2.1.0-1 - Changed package name, add provides section -* Tue May 05 2015 Nicola Asuni 2.0.0-1 +* Tue May 05 2024 Nicola Asuni 2.0.0-1 - Initial Commit diff --git a/src/Exception.php b/src/Exception.php index fd1b123..95446f2 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -7,7 +7,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -25,7 +25,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser */ diff --git a/src/Parser.php b/src/Parser.php index 2cd7bee..ff7ed03 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -7,7 +7,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -28,7 +28,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * diff --git a/src/Process/RawObject.php b/src/Process/RawObject.php index 3a6527a..97103fa 100644 --- a/src/Process/RawObject.php +++ b/src/Process/RawObject.php @@ -7,7 +7,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -25,7 +25,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * diff --git a/src/Process/Xref.php b/src/Process/Xref.php index 22c2876..0186947 100644 --- a/src/Process/Xref.php +++ b/src/Process/Xref.php @@ -7,7 +7,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -27,7 +27,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser */ diff --git a/src/Process/XrefStream.php b/src/Process/XrefStream.php index 0a0a5c4..0f20024 100644 --- a/src/Process/XrefStream.php +++ b/src/Process/XrefStream.php @@ -7,7 +7,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -27,7 +27,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * diff --git a/test/ParserTest.php b/test/ParserTest.php index 761b776..e2c3a26 100644 --- a/test/ParserTest.php +++ b/test/ParserTest.php @@ -7,7 +7,7 @@ * @category Library * @package Pdfparser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser * @@ -26,7 +26,7 @@ * @category Library * @package PdfParser * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-parser */