From 32a8ae3c1c9c03714d3d4f8c9707f6d4370b5ea4 Mon Sep 17 00:00:00 2001 From: Jordi Kroon Date: Fri, 24 Apr 2026 00:27:14 +0200 Subject: [PATCH 1/2] chore: move phpstan extensions to require-dev Move phpstan-strict-rules and phpstan-phpunit from require to require-dev since they are development dependencies used for static analysis and testing, not needed in production. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index c70ebd9..fcd2020 100644 --- a/composer.json +++ b/composer.json @@ -9,14 +9,14 @@ "ext-dom": "*", "ext-libxml": "*", "ext-simplexml": "*", - "phpstan/phpstan-strict-rules": "^2.0", - "phpstan/phpstan-phpunit": "^2.0" }, "require-dev": { "phpunit/phpunit": "^13.1", "phpstan/phpstan": "^2.1", "phpunit/php-code-coverage": "^14.1", - "squizlabs/php_codesniffer": "^4.0" + "squizlabs/php_codesniffer": "^4.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpstan/phpstan-phpunit": "^2.0" }, "autoload": { "psr-4": { From a5dd01d0b638a80acf0c4ff90f9e8423874cba7d Mon Sep 17 00:00:00 2001 From: Jordi Kroon Date: Fri, 24 Apr 2026 00:29:00 +0200 Subject: [PATCH 2/2] style: remove trailing comma in composer.json Remove unnecessary trailing comma after the last item in the require section to maintain consistent formatting. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fcd2020..42de77c 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "php": "^8.5", "ext-dom": "*", "ext-libxml": "*", - "ext-simplexml": "*", + "ext-simplexml": "*" }, "require-dev": { "phpunit/phpunit": "^13.1",