Skip to content

Commit 03fa5b6

Browse files
Update dependency ergebnis/phpstan-rules to ^2.14.0
1 parent 427a58f commit 03fa5b6

8 files changed

Lines changed: 102 additions & 60 deletions

File tree

‎tools/.phpstan/composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"phpstan/phpstan": "^2.2.15",
44
"phpstan/extension-installer": "^1.4.3",
55
"phpstan/phpstan-strict-rules": "^2.0.12",
6-
"ergebnis/phpstan-rules": "^2.13.1"
6+
"ergebnis/phpstan-rules": "^2.14.0"
77
},
88
"config": {
99
"allow-plugins": {

‎tools/.phpstan/composer.lock‎

Lines changed: 20 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tools/.phpstan/vendor/composer/installed.json‎

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,53 @@
22
"packages": [
33
{
44
"name": "ergebnis/phpstan-rules",
5-
"version": "2.13.1",
6-
"version_normalized": "2.13.1.0",
5+
"version": "2.14.0",
6+
"version_normalized": "2.14.0.0",
77
"source": {
88
"type": "git",
99
"url": "https://github.com/ergebnis/phpstan-rules.git",
10-
"reference": "f69db86b98595c34fc1f61c89fe3b380141aa519"
10+
"reference": "04fac7195113fd33d35c01060cc09e03542494d5"
1111
},
1212
"dist": {
1313
"type": "zip",
14-
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/f69db86b98595c34fc1f61c89fe3b380141aa519",
15-
"reference": "f69db86b98595c34fc1f61c89fe3b380141aa519",
14+
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/04fac7195113fd33d35c01060cc09e03542494d5",
15+
"reference": "04fac7195113fd33d35c01060cc09e03542494d5",
1616
"shasum": ""
1717
},
1818
"require": {
1919
"ext-mbstring": "*",
20-
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
20+
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0",
2121
"phpstan/phpstan": "^2.1.35"
2222
},
2323
"require-dev": {
2424
"codeception/codeception": "^4.0.0 || ^5.0.0",
2525
"doctrine/orm": "^2.20.0 || ^3.3.0",
26-
"ergebnis/composer-normalize": "^2.49.0",
26+
"ergebnis/composer-normalize": "^2.53.0",
2727
"ergebnis/license": "^2.7.0",
28-
"ergebnis/php-cs-fixer-config": "^6.59.0",
29-
"ergebnis/phpunit-slow-test-detector": "^2.20.0",
28+
"ergebnis/php-cs-fixer-config": "^6.63.2",
29+
"ergebnis/phpunit-slow-test-detector": "^2.25.0",
30+
"ergebnis/rector-rules": "^1.18.3",
3031
"fakerphp/faker": "^1.24.1",
3132
"phpstan/extension-installer": "^1.4.3",
32-
"phpstan/phpstan-deprecation-rules": "^2.0.3",
33-
"phpstan/phpstan-phpunit": "^2.0.12",
34-
"phpstan/phpstan-strict-rules": "^2.0.8",
35-
"phpunit/phpunit": "^9.6.21",
33+
"phpstan/phpstan-deprecation-rules": "^2.0.5",
34+
"phpstan/phpstan-phpunit": "^2.0.18",
35+
"phpstan/phpstan-strict-rules": "^2.0.12",
36+
"phpunit/phpunit": "^9.6.33",
3637
"psr/container": "^2.0.2",
38+
"rector/rector": "^2.3.8",
3739
"symfony/finder": "^5.4.45",
38-
"symfony/process": "^5.4.47"
40+
"symfony/process": "^5.4.51"
3941
},
40-
"time": "2026-01-27T17:13:06+00:00",
42+
"time": "2026-09-24T19:43:19+00:00",
4143
"type": "phpstan-extension",
4244
"extra": {
4345
"phpstan": {
4446
"includes": [
4547
"rules.neon"
4648
]
49+
},
50+
"branch-alias": {
51+
"dev-main": "2.14-dev"
4752
}
4853
},
4954
"installation-source": "dist",

‎tools/.phpstan/vendor/composer/installed.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => '7.0.x-dev',
55
'version' => '7.0.9999999.9999999-dev',
6-
'reference' => 'ce313285694200c70292972e49635d88c399422e',
6+
'reference' => '427a58f4380f6ff427e60c6f398118387b33a180',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,16 +13,16 @@
1313
'__root__' => array(
1414
'pretty_version' => '7.0.x-dev',
1515
'version' => '7.0.9999999.9999999-dev',
16-
'reference' => 'ce313285694200c70292972e49635d88c399422e',
16+
'reference' => '427a58f4380f6ff427e60c6f398118387b33a180',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
2020
'dev_requirement' => false,
2121
),
2222
'ergebnis/phpstan-rules' => array(
23-
'pretty_version' => '2.13.1',
24-
'version' => '2.13.1.0',
25-
'reference' => 'f69db86b98595c34fc1f61c89fe3b380141aa519',
23+
'pretty_version' => '2.14.0',
24+
'version' => '2.14.0.0',
25+
'reference' => '04fac7195113fd33d35c01060cc09e03542494d5',
2626
'type' => 'phpstan-extension',
2727
'install_path' => __DIR__ . '/../ergebnis/phpstan-rules',
2828
'aliases' => array(),

‎tools/.phpstan/vendor/ergebnis/phpstan-rules/CHANGELOG.md‎

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## Unreleased
88

9-
For a full diff see [`2.13.1...main`][2.13.1...main].
9+
For a full diff see [`2.14.0...main`][2.14.0...main].
10+
11+
## [`2.14.0`][2.14.0]
12+
13+
For a full diff see [`2.13.1...2.14.0`][2.13.1...2.14.0].
14+
15+
### Changed
16+
17+
- Allowed installation on PHP 8.6 ([#1101]), by [@localheinz]
18+
19+
### Fixed
20+
21+
- Adjusted `Functions\NoParameterPassedByReferenceRule` to use the appropriate error identifier ([#1036]), by [@Legend999]
1022

1123
## [`2.13.1`][2.13.1]
1224

@@ -217,9 +229,9 @@ For a full diff see [`1.0.0...2.0.0`][1.0.0...2.0.0].
217229

218230
### Added
219231

220-
- Added `methodsAllowedToUseContainerTypeDeclarations` parameter to allow configuring a list of method names that are allowed to have container parameter type declarations ([#541), by [@localheinz]
221-
- Allowed disabling rules ([#542), by [@localheinz]
222-
- Added support for nullable union types ([#543), by [@localheinz]
232+
- Added `methodsAllowedToUseContainerTypeDeclarations` parameter to allow configuring a list of method names that are allowed to have container parameter type declarations ([#541]), by [@localheinz]
233+
- Allowed disabling rules ([#542]), by [@localheinz]
234+
- Added support for nullable union types ([#543]), by [@localheinz]
223235

224236
### Changed
225237

@@ -420,7 +432,7 @@ For a full diff see [`0.10.0...0.11.0`][0.10.0...0.11.0].
420432

421433
### Added
422434

423-
- Added `Files\DeclareStrictTypesRule`, which reports an error when a PHP file does not have a `declare(strict_types=1)` declaration ([#79]
435+
- Added `Files\DeclareStrictTypesRule`, which reports an error when a PHP file does not have a `declare(strict_types=1)` declaration ([#79]), by [@dmecke]
424436
- Added `Expressions\NoEmptyRule`, which reports an error when the language construct `empty()` is used ([#110]), by [@localheinz]
425437
- Added `Expressions\NoEvalRule`, which reports an error when the language construct `eval()` is used ([#112]), by [@localheinz]
426438
- Added `Expressions\NoErrorSuppressionRule`, which reports an error when `@` is used to suppress errors ([#113]), by [@localheinz]
@@ -662,7 +674,9 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
662674
[2.11.0...2.12.0]: https://github.com/ergebnis/phpstan-rules/compare/2.11.0...2.12.0
663675
[2.12.0...2.13.0]: https://github.com/ergebnis/phpstan-rules/compare/2.12.0...2.13.0
664676
[2.13.0...2.13.1]: https://github.com/ergebnis/phpstan-rules/compare/2.13.0...2.13.1
665-
[2.13.1...main]: https://github.com/ergebnis/phpstan-rules/compare/2.13.1...main
677+
[2.13.1...2.14.0]: https://github.com/ergebnis/phpstan-rules/compare/2.13.1...2.14.0
678+
[2.14.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.14.0
679+
[2.14.0...main]: https://github.com/ergebnis/phpstan-rules/compare/2.14.0...main
666680

667681
[#1]: https://github.com/ergebnis/phpstan-rules/pull/1
668682
[#4]: https://github.com/ergebnis/phpstan-rules/pull/4
@@ -720,13 +734,14 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
720734
[#396]: https://github.com/ergebnis/phpstan-rules/pull/396
721735
[#496]: https://github.com/ergebnis/phpstan-rules/pull/496
722736
[#498]: https://github.com/ergebnis/phpstan-rules/pull/498
723-
[#499]: https://github.com/ergebnis/phpstan-rules/pull/498
737+
[#499]: https://github.com/ergebnis/phpstan-rules/pull/499
724738
[#525]: https://github.com/ergebnis/phpstan-rules/pull/525
725739
[#540]: https://github.com/ergebnis/phpstan-rules/pull/540
726740
[#541]: https://github.com/ergebnis/phpstan-rules/pull/541
727741
[#542]: https://github.com/ergebnis/phpstan-rules/pull/542
728742
[#543]: https://github.com/ergebnis/phpstan-rules/pull/543
729743
[#567]: https://github.com/ergebnis/phpstan-rules/pull/567
744+
[#604]: https://github.com/ergebnis/phpstan-rules/pull/604
730745
[#735]: https://github.com/ergebnis/phpstan-rules/pull/735
731746
[#862]: https://github.com/ergebnis/phpstan-rules/pull/862
732747
[#863]: https://github.com/ergebnis/phpstan-rules/pull/863
@@ -763,11 +778,15 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
763778
[#1009]: https://github.com/ergebnis/phpstan-rules/pull/1009
764779
[#1010]: https://github.com/ergebnis/phpstan-rules/pull/1010
765780
[#1011]: https://github.com/ergebnis/phpstan-rules/pull/1011
781+
[#1036]: https://github.com/ergebnis/phpstan-rules/pull/1036
782+
[#1101]: https://github.com/ergebnis/phpstan-rules/pull/1101
766783

767784
[@cosmastech]: https://github.com/cosmastech
785+
[@dmecke]: https://github.com/dmecke
768786
[@enumag]: https://github.com/enumag
769787
[@ergebnis]: https://github.com/ergebnis
770788
[@Great-Antique]: https://github.com/Great-Antique
789+
[@Legend999]: https://github.com/Legend999
771790
[@localheinz]: https://github.com/localheinz
772791
[@manuelkiessling]: https://github.com/manuelkiessling
773792
[@nunomaduro]: https://github.com/nunomaduro

‎tools/.phpstan/vendor/ergebnis/phpstan-rules/README.md‎

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# phpstan-rules
22

3-
[![Integrate](https://github.com/ergebnis/phpstan-rules/workflows/Integrate/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
4-
[![Merge](https://github.com/ergebnis/phpstan-rules/workflows/Merge/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
5-
[![Release](https://github.com/ergebnis/phpstan-rules/workflows/Release/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
6-
[![Renew](https://github.com/ergebnis/phpstan-rules/workflows/Renew/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions)
3+
[![Integrate](https://github.com/ergebnis/phpstan-rules/actions/workflows/integrate.yaml/badge.svg?branch=main)](https://github.com/ergebnis/phpstan-rules/actions/workflows/integrate.yaml)
4+
[![Merge](https://github.com/ergebnis/phpstan-rules/actions/workflows/merge.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/merge.yaml)
5+
[![Release](https://github.com/ergebnis/phpstan-rules/actions/workflows/release.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/release.yaml)
6+
[![Renew](https://github.com/ergebnis/phpstan-rules/actions/workflows/renew.yaml/badge.svg)](https://github.com/ergebnis/phpstan-rules/actions/workflows/renew.yaml)
77

88
[![Code Coverage](https://codecov.io/gh/ergebnis/phpstan-rules/branch/main/graph/badge.svg)](https://codecov.io/gh/ergebnis/phpstan-rules)
99

1010
[![Latest Stable Version](https://poser.pugx.org/ergebnis/phpstan-rules/v/stable)](https://packagist.org/packages/ergebnis/phpstan-rules)
1111
[![Total Downloads](https://poser.pugx.org/ergebnis/phpstan-rules/downloads)](https://packagist.org/packages/ergebnis/phpstan-rules)
12-
[![Monthly Downloads](http://poser.pugx.org/ergebnis/phpstan-rules/d/monthly)](https://packagist.org/packages/ergebnis/phpstan-rules)
12+
[![Monthly Downloads](https://poser.pugx.org/ergebnis/phpstan-rules/d/monthly)](https://packagist.org/packages/ergebnis/phpstan-rules)
1313

1414
This project provides a [`composer`](https://getcomposer.org) package with rules for [`phpstan/phpstan`](https://github.com/phpstan/phpstan).
1515

@@ -755,9 +755,17 @@ You can support the maintenance of this project by [sponsoring @ergebnis](https:
755755

756756
## PHP Version Support Policy
757757

758-
This project supports PHP versions with [active and security support](https://www.php.net/supported-versions.php).
758+
This project currently supports the following PHP versions:
759759

760-
The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support.
760+
- [PHP 7.4](https://www.php.net/releases/#7.4.0) (has reached its end of life on November 28, 2022)
761+
- [PHP 8.0](https://www.php.net/releases/#8.0.0) (has reached its end of life on November 26, 2023)
762+
- [PHP 8.1](https://www.php.net/releases/#8.1.0) (has reached its end of life on December 31, 2025)
763+
- [PHP 8.2](https://www.php.net/releases/#8.2.0)
764+
- [PHP 8.3](https://www.php.net/releases/#8.3.0)
765+
- [PHP 8.4](https://www.php.net/releases/#8.4.0)
766+
- [PHP 8.5](https://www.php.net/releases/#8.5.0)
767+
768+
The maintainers of this project add support for a PHP version following its initial release and _may_ drop support for a PHP version when it has reached its [end of life](https://www.php.net/supported-versions.php).
761769

762770
## Security Policy
763771

‎tools/.phpstan/vendor/ergebnis/phpstan-rules/composer.json‎

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,28 @@
2121
"security": "https://github.com/ergebnis/phpstan-rules/blob/main/.github/SECURITY.md"
2222
},
2323
"require": {
24-
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
24+
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0",
2525
"ext-mbstring": "*",
2626
"phpstan/phpstan": "^2.1.35"
2727
},
2828
"require-dev": {
2929
"codeception/codeception": "^4.0.0 || ^5.0.0",
3030
"doctrine/orm": "^2.20.0 || ^3.3.0",
31-
"ergebnis/composer-normalize": "^2.49.0",
31+
"ergebnis/composer-normalize": "^2.53.0",
3232
"ergebnis/license": "^2.7.0",
33-
"ergebnis/php-cs-fixer-config": "^6.59.0",
34-
"ergebnis/phpunit-slow-test-detector": "^2.20.0",
33+
"ergebnis/php-cs-fixer-config": "^6.63.2",
34+
"ergebnis/phpunit-slow-test-detector": "^2.25.0",
35+
"ergebnis/rector-rules": "^1.18.3",
3536
"fakerphp/faker": "^1.24.1",
3637
"phpstan/extension-installer": "^1.4.3",
37-
"phpstan/phpstan-deprecation-rules": "^2.0.3",
38-
"phpstan/phpstan-phpunit": "^2.0.12",
39-
"phpstan/phpstan-strict-rules": "^2.0.8",
40-
"phpunit/phpunit": "^9.6.21",
38+
"phpstan/phpstan-deprecation-rules": "^2.0.5",
39+
"phpstan/phpstan-phpunit": "^2.0.18",
40+
"phpstan/phpstan-strict-rules": "^2.0.12",
41+
"phpunit/phpunit": "^9.6.33",
4142
"psr/container": "^2.0.2",
43+
"rector/rector": "^2.3.8",
4244
"symfony/finder": "^5.4.45",
43-
"symfony/process": "^5.4.47"
45+
"symfony/process": "^5.4.51"
4446
},
4547
"autoload": {
4648
"psr-4": {
@@ -68,6 +70,9 @@
6870
"sort-packages": true
6971
},
7072
"extra": {
73+
"branch-alias": {
74+
"dev-main": "2.14-dev"
75+
},
7176
"phpstan": {
7277
"includes": [
7378
"rules.neon"

‎tools/.phpstan/vendor/ergebnis/phpstan-rules/src/Functions/NoParameterPassedByReferenceRule.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function processNode(
6060
);
6161

6262
return Rules\RuleErrorBuilder::message($message)
63-
->identifier(ErrorIdentifier::noParameterWithNullDefaultValue()->toString())
63+
->identifier(ErrorIdentifier::noParameterPassedByReference()->toString())
6464
->build();
6565
}, $parametersPassedByReference);
6666
}

0 commit comments

Comments
 (0)