Skip to content

Commit cdf9be2

Browse files
committed
[TASK] Update the development dependencies
1 parent 1dd6b84 commit cdf9be2

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="composer-normalize" version="^2.44.0" installed="2.50.0" location="./.phive/composer-normalize" copy="false"/>
4-
<phar name="php-cs-fixer" version="^3.59.3" installed="3.95.1" location="./.phive/php-cs-fixer" copy="false"/>
3+
<phar name="composer-normalize" version="^2.44.0" installed="2.52.0" location="./.phive/composer-normalize" copy="false"/>
4+
<phar name="php-cs-fixer" version="^3.59.3" installed="3.95.8" location="./.phive/php-cs-fixer" copy="false"/>
55
</phive>

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"require-dev": {
3131
"php-parallel-lint/php-parallel-lint": "1.4.0",
3232
"phpstan/extension-installer": "1.4.3",
33-
"phpstan/phpstan": "1.12.33 || 2.1.47",
33+
"phpstan/phpstan": "1.12.33 || 2.2.2",
3434
"phpstan/phpstan-phpunit": "1.4.2 || 2.0.16",
35-
"phpstan/phpstan-strict-rules": "1.6.2 || 2.0.10",
35+
"phpstan/phpstan-strict-rules": "1.6.2 || 2.0.11",
3636
"phpunit/phpunit": "8.5.52",
3737
"rawr/phpunit-data-provider": "3.3.1",
38-
"rector/rector": "1.2.10 || 2.4.1",
38+
"rector/rector": "1.2.10 || 2.4.5",
3939
"rector/type-perfect": "1.0.0 || 2.1.3",
4040
"squizlabs/php_codesniffer": "4.0.1",
4141
"thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.3"

src/Rule/Rule.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88

99
use function Safe\class_alias;
1010

11+
// @phpstan-ignore function.impossibleType
1112
if (!\class_exists(Rule::class, false) && !\interface_exists(Rule::class, false)) {
1213
class_alias(Declaration::class, Rule::class);
1314
// The test is expected to evaluate to false,
1415
// but allows for the deprecation notice to be picked up by IDEs like PHPStorm.
15-
// @phpstan-ignore booleanNot.alwaysTrue, booleanNot.alwaysTrue, booleanAnd.alwaysTrue
16+
// @phpstan-ignore booleanNot.alwaysTrue, booleanAnd.alwaysTrue, function.impossibleType
1617
if (!\class_exists(Rule::class, false) && !\interface_exists(Rule::class, false)) {
1718
/**
1819
* @deprecated in v9.2, will be removed in v10.0. Use `Property\Declaration` instead, which is a direct

src/RuleSet/RuleContainer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
use function Safe\class_alias;
88

9+
// @phpstan-ignore function.impossibleType
910
if (!\class_exists(RuleContainer::class, false) && !\interface_exists(RuleContainer::class, false)) {
1011
class_alias(DeclarationList::class, RuleContainer::class);
1112
// The test is expected to evaluate to false,
1213
// but allows for the deprecation notice to be picked up by IDEs like PHPStorm.
13-
// @phpstan-ignore booleanNot.alwaysTrue, booleanNot.alwaysTrue, booleanAnd.alwaysTrue
14+
// @phpstan-ignore booleanNot.alwaysTrue, booleanAnd.alwaysTrue, function.impossibleType
1415
if (!\class_exists(RuleContainer::class, false) && !\interface_exists(RuleContainer::class, false)) {
1516
/**
1617
* @deprecated in v9.2, will be removed in v10.0. Use `DeclarationList` instead, which is a direct replacement.

0 commit comments

Comments
 (0)