diff --git a/.phive/phars.xml b/.phive/phars.xml index ce5acd67..7f46c8a2 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + diff --git a/composer.json b/composer.json index 744c5abf..6140ea6e 100644 --- a/composer.json +++ b/composer.json @@ -30,15 +30,15 @@ "require-dev": { "php-parallel-lint/php-parallel-lint": "1.4.0", "phpstan/extension-installer": "1.4.3", - "phpstan/phpstan": "1.12.33 || 2.2.2", - "phpstan/phpstan-phpunit": "1.4.2 || 2.0.16", - "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.11", + "phpstan/phpstan": "1.12.33 || 2.2.6", + "phpstan/phpstan-phpunit": "1.4.2 || 2.0.18", + "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.12", "phpunit/phpunit": "8.5.53", "rawr/phpunit-data-provider": "3.3.1", - "rector/rector": "1.2.10 || 2.5.0", - "rector/type-perfect": "1.0.0 || 2.1.3", + "rector/rector": "1.2.10 || 2.5.8", + "rector/type-perfect": "1.0.0 || 2.1.4", "squizlabs/php_codesniffer": "4.0.1", - "thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.3" + "thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.7" }, "suggest": { "ext-mbstring": "for parsing UTF-8 CSS" diff --git a/src/Rule/Rule.php b/src/Rule/Rule.php index e51d7157..c20f6696 100644 --- a/src/Rule/Rule.php +++ b/src/Rule/Rule.php @@ -13,7 +13,7 @@ class_alias(Declaration::class, Rule::class); // The test is expected to evaluate to false, // but allows for the deprecation notice to be picked up by IDEs like PHPStorm. - // @phpstan-ignore booleanNot.alwaysTrue, booleanAnd.alwaysTrue, function.impossibleType + // @phpstan-ignore function.impossibleType if (!\class_exists(Rule::class, false) && !\interface_exists(Rule::class, false)) { /** * @deprecated in v9.2, will be removed in v10.0. Use `Property\Declaration` instead, which is a direct diff --git a/src/RuleSet/RuleContainer.php b/src/RuleSet/RuleContainer.php index e75a6367..7bfa7b8a 100644 --- a/src/RuleSet/RuleContainer.php +++ b/src/RuleSet/RuleContainer.php @@ -11,7 +11,7 @@ class_alias(DeclarationList::class, RuleContainer::class); // The test is expected to evaluate to false, // but allows for the deprecation notice to be picked up by IDEs like PHPStorm. - // @phpstan-ignore booleanNot.alwaysTrue, booleanAnd.alwaysTrue, function.impossibleType + // @phpstan-ignore function.impossibleType if (!\class_exists(RuleContainer::class, false) && !\interface_exists(RuleContainer::class, false)) { /** * @deprecated in v9.2, will be removed in v10.0. Use `DeclarationList` instead, which is a direct replacement.