From a6e22c632a06080b2dd8551c2824142069ceaa60 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 19 Jun 2026 22:38:12 +0200 Subject: [PATCH] [TASK] Update the development dependencies --- .phive/phars.xml | 2 +- Build/rector/config.php | 1 - composer.json | 2 +- tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleAssertTest.php | 1 - .../PhpStan/IgnoreBooleanAlwaysImpossibleInstanceofTest.php | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index 68991567..ce5acd67 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + diff --git a/Build/rector/config.php b/Build/rector/config.php index 7129a059..1cb7c9b9 100644 --- a/Build/rector/config.php +++ b/Build/rector/config.php @@ -27,7 +27,6 @@ // SetList::INSTANCEOF, // SetList::NAMING, // SetList::PRIVATIZATION, - SetList::STRICT_BOOLEANS, SetList::TYPE_DECLARATION, // PHPUnit sets diff --git a/composer.json b/composer.json index 8188f595..134da883 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.11", "phpunit/phpunit": "8.5.52", "rawr/phpunit-data-provider": "3.3.1", - "rector/rector": "1.2.10 || 2.4.6", + "rector/rector": "1.2.10 || 2.5.0", "rector/type-perfect": "1.0.0 || 2.1.3", "squizlabs/php_codesniffer": "4.0.1", "thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.3" diff --git a/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleAssertTest.php b/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleAssertTest.php index 24061629..efb116fb 100644 --- a/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleAssertTest.php +++ b/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleAssertTest.php @@ -5,7 +5,6 @@ namespace Sabberworm\CSS\Tests\Unit\PhpStan; use PHPStan\Analyser\IgnoreErrorExtension; -use PHPStan\Testing\RuleTestCase; use PHPStan\Rules\Comparison\ImpossibleCheckTypeFunctionCallRule; use PHPStan\Rules\Rule; diff --git a/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleInstanceofTest.php b/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleInstanceofTest.php index 2f7058f6..25988007 100644 --- a/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleInstanceofTest.php +++ b/tests/Unit/PhpStan/IgnoreBooleanAlwaysImpossibleInstanceofTest.php @@ -5,7 +5,6 @@ namespace Sabberworm\CSS\Tests\Unit\PhpStan; use PHPStan\Analyser\IgnoreErrorExtension; -use PHPStan\Testing\RuleTestCase; use PHPStan\Rules\Classes\ImpossibleInstanceOfRule; use PHPStan\Rules\Rule;