From 523a126ed73f626151f743ded672c955e3c7606e Mon Sep 17 00:00:00 2001 From: Susan Turkel Date: Thu, 16 Jul 2026 12:53:40 -0400 Subject: [PATCH 1/3] Update dependencies to match VuFind 11.1 release --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 42f89eb..bd5ea50 100644 --- a/composer.json +++ b/composer.json @@ -26,13 +26,13 @@ "php": ">=8.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "3.89.2", + "friendsofphp/php-cs-fixer": "3.95.15", "guzzlehttp/guzzle": "^7.8.1", "phpmd/phpmd": "2.15.0", - "phpstan/phpstan": "2.1.32", - "phpunit/phpunit": "11.5.50", - "phing/phing": "3.1.0", - "rector/rector": "2.2.7", + "phpstan/phpstan": "2.2.5", + "phpunit/phpunit": "11.5.56", + "phing/phing": "3.1.2", + "rector/rector": "2.5.7", "squizlabs/php_codesniffer": "4.0.1" } } From 4534a968b1486a068a5096b9087a974258c05538 Mon Sep 17 00:00:00 2001 From: Susan Turkel Date: Thu, 16 Jul 2026 13:08:18 -0400 Subject: [PATCH 2/3] Updated array in tests/VuFind.php-cs-fixer.php --- tests/vufind.php-cs-fixer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vufind.php-cs-fixer.php b/tests/vufind.php-cs-fixer.php index dbfaf17..2255b1b 100644 --- a/tests/vufind.php-cs-fixer.php +++ b/tests/vufind.php-cs-fixer.php @@ -15,6 +15,7 @@ ], 'cast_spaces' => ['space' => 'none'], 'class_attributes_separation' => ['elements' => ['method' => 'one', 'property' => 'one']], + 'class_reference_name_casing' => true, 'concat_space' => ['spacing' => 'one'], 'ereg_to_preg' => true, 'get_class_to_class_keyword' => true, @@ -57,6 +58,7 @@ 'sort_algorithm' => 'alpha', ], 'phpdoc_no_access' => true, + 'phpdoc_summary' => true, 'php_unit_method_casing' => true, 'pow_to_exponentiation' => true, 'single_line_after_imports' => true, From 3d83947e397126d8f1af9e85716d8c314787914b Mon Sep 17 00:00:00 2001 From: Susan Turkel Date: Thu, 16 Jul 2026 13:45:41 -0400 Subject: [PATCH 3/3] Added scripts section to composer.json; ran scripts and added the files that were modified --- composer.json | 4 ++++ src/VuFindCode/EAN.php | 4 ++-- src/VuFindCode/ISBN.php | 10 +++++----- src/VuFindCode/ISMN.php | 10 +++++----- tests/ISBNTest.php | 4 ++-- tests/ISMNTest.php | 4 ++-- 6 files changed, 20 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index bd5ea50..1042b95 100644 --- a/composer.json +++ b/composer.json @@ -34,5 +34,9 @@ "phing/phing": "3.1.2", "rector/rector": "2.5.7", "squizlabs/php_codesniffer": "4.0.1" + }, + "scripts": { + "fix": "phing fix-php", + "qa": "phing qa-console" } } diff --git a/src/VuFindCode/EAN.php b/src/VuFindCode/EAN.php index 89425bd..fcdde88 100644 --- a/src/VuFindCode/EAN.php +++ b/src/VuFindCode/EAN.php @@ -1,7 +1,7 @@