From c73361c6d11ada96b55acb0808ba31bb83b73362 Mon Sep 17 00:00:00 2001 From: Andrii Date: Fri, 3 Jan 2025 21:07:13 +0100 Subject: [PATCH] :package: Phpunit v11, phpstan v2, doctrine CS 12 --- composer.json | 6 +++--- phpstan.neon | 2 -- phpunit.xml.dist | 30 ++++++++++++++---------------- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index 9af70a1..090df04 100644 --- a/composer.json +++ b/composer.json @@ -22,12 +22,12 @@ "symfony/validator": "^7" }, "require-dev": { - "phpunit/phpunit": "^9.6.5 || ^10.0.0", + "phpunit/phpunit": "^11", "mouf/picotainer": "^1.1", - "phpstan/phpstan": "^1.8", + "phpstan/phpstan": "^2", "php-coveralls/php-coveralls": "^2.1.0", "symfony/translation": "^7", - "doctrine/coding-standard": "^11.1|^12.0" + "doctrine/coding-standard": "^12" }, "scripts": { "phpstan": "phpstan analyse --no-progress", diff --git a/phpstan.neon b/phpstan.neon index 66327bc..30e3162 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,8 +8,6 @@ parameters: excludePaths: - vendor - - cache - - .phpstan-cache #includes: # - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4a50c11..6d32fbe 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,13 +1,8 @@ - @@ -16,13 +11,16 @@ - - - ./src - - - - - - + + + src + + + + + + + + +