Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit 839b07f

Browse files
Update tools
1 parent 92274a9 commit 839b07f

File tree

10 files changed

+911
-321
lines changed

10 files changed

+911
-321
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^12.2" installed="12.2.0" location="./tools/phpunit" copy="true"/>
3+
<phar name="phpunit" version="^12.2" installed="12.2.3" location="./tools/phpunit" copy="true"/>
44
<phar name="php-cs-fixer" version="^3.75" installed="3.75.0" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="infection" version="^0.29" installed="0.29.14" location="./tools/infection" copy="true"/>
66
<phar name="composer" version="^2.8" installed="2.8.9" location="./tools/composer" copy="true"/>

tools/.phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"phpstan/extension-installer": "^1.4.3",
55
"phpstan/phpstan-strict-rules": "^2.0.4",
66
"tomasvotruba/type-coverage": "^2.0.2",
7-
"ergebnis/phpstan-rules": "^2.10.3"
7+
"ergebnis/phpstan-rules": "^2.10.5"
88
},
99
"config": {
1010
"allow-plugins": {

tools/.phpstan/composer.lock

Lines changed: 6 additions & 6 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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"packages": [
33
{
44
"name": "ergebnis/phpstan-rules",
5-
"version": "2.10.3",
6-
"version_normalized": "2.10.3.0",
5+
"version": "2.10.5",
6+
"version_normalized": "2.10.5.0",
77
"source": {
88
"type": "git",
99
"url": "https://github.com/ergebnis/phpstan-rules.git",
10-
"reference": "a69bfa59f5b5faeca844054595a0d4ffcf5a8d23"
10+
"reference": "719a53e793e2417da46d497f21fb8d2f007ecb78"
1111
},
1212
"dist": {
1313
"type": "zip",
14-
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/a69bfa59f5b5faeca844054595a0d4ffcf5a8d23",
15-
"reference": "a69bfa59f5b5faeca844054595a0d4ffcf5a8d23",
14+
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/719a53e793e2417da46d497f21fb8d2f007ecb78",
15+
"reference": "719a53e793e2417da46d497f21fb8d2f007ecb78",
1616
"shasum": ""
1717
},
1818
"require": {
@@ -38,7 +38,7 @@
3838
"symfony/finder": "^5.4.45",
3939
"symfony/process": "^5.4.47"
4040
},
41-
"time": "2025-06-03T09:06:44+00:00",
41+
"time": "2025-06-23T17:35:58+00:00",
4242
"type": "phpstan-extension",
4343
"extra": {
4444
"phpstan": {

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' => 'dev-main',
55
'version' => 'dev-main',
6-
'reference' => 'c79b0d96cb51f075392f06f15c423c1eb87de7d1',
6+
'reference' => '92274a9fdd2b0d45b7f83d960c048e7d5aafaf6a',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,16 +13,16 @@
1313
'__root__' => array(
1414
'pretty_version' => 'dev-main',
1515
'version' => 'dev-main',
16-
'reference' => 'c79b0d96cb51f075392f06f15c423c1eb87de7d1',
16+
'reference' => '92274a9fdd2b0d45b7f83d960c048e7d5aafaf6a',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
2020
'dev_requirement' => false,
2121
),
2222
'ergebnis/phpstan-rules' => array(
23-
'pretty_version' => '2.10.3',
24-
'version' => '2.10.3.0',
25-
'reference' => 'a69bfa59f5b5faeca844054595a0d4ffcf5a8d23',
23+
'pretty_version' => '2.10.5',
24+
'version' => '2.10.5.0',
25+
'reference' => '719a53e793e2417da46d497f21fb8d2f007ecb78',
2626
'type' => 'phpstan-extension',
2727
'install_path' => __DIR__ . '/../ergebnis/phpstan-rules',
2828
'aliases' => array(),

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

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,27 @@ 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.10.3...main`][2.10.3...main].
9+
For a full diff see [`2.10.5...main`][2.10.5...main].
10+
11+
## [`2.10.5`][2.10.5]
12+
13+
For a full diff see [`2.10.4...2.10.5`][2.10.4...2.10.5].
14+
15+
### Fixed
16+
17+
- Adjusted `Methods\NoNamedArgumentRule` to handle calls to constructors of variable class names ([#957]), by [@localheinz]
18+
- Adjusted `Methods\NoNamedArgumentRule` to describe known calls only ([#958]), by [@localheinz]
19+
20+
## [`2.10.4`][2.10.4]
21+
22+
For a full diff see [`2.10.3...2.10.4`][2.10.3...2.10.4].
23+
24+
### Fixed
25+
26+
- Adjusted `Methods\NoNamedArgumentRule` to handle static calls on variable expressions ([#947]), by [@localheinz]
27+
- Adjusted `Methods\NoNamedArgumentRule` to handle calls on invokables ([#948]), by [@localheinz]
28+
- Adjusted `Methods\NoNamedArgumentRule` to handle calls on callables assigned to properties ([#949]), by [@localheinz]
29+
- Adjusted `Methods\NoNamedArgumentRule` to handle all other calls with generic error message ([#951]), by [@localheinz]
1030

1131
## [`2.10.3`][2.10.3]
1232

@@ -548,6 +568,8 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
548568
[2.10.1]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.1
549569
[2.10.2]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.2
550570
[2.10.3]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.3
571+
[2.10.4]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.4
572+
[2.10.5]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.5
551573

552574
[362c7ea...0.1.0]: https://github.com/ergebnis/phpstan-rules/compare/362c7ea...0.1.0
553575
[0.1.0...0.2.0]: https://github.com/ergebnis/phpstan-rules/compare/0.1.0...0.2.0
@@ -594,7 +616,9 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
594616
[2.10.0...2.10.1]: https://github.com/ergebnis/phpstan-rules/compare/2.10.0...2.10.1
595617
[2.10.1...2.10.2]: https://github.com/ergebnis/phpstan-rules/compare/2.10.1...2.10.2
596618
[2.10.2...2.10.3]: https://github.com/ergebnis/phpstan-rules/compare/2.10.2...2.10.3
597-
[2.10.3...main]: https://github.com/ergebnis/phpstan-rules/compare/2.10.3...main
619+
[2.10.3...2.10.4]: https://github.com/ergebnis/phpstan-rules/compare/2.10.3...2.10.4
620+
[2.10.4...2.10.5]: https://github.com/ergebnis/phpstan-rules/compare/2.10.4...2.10.5
621+
[2.10.5...main]: https://github.com/ergebnis/phpstan-rules/compare/2.10.5...main
598622

599623
[#1]: https://github.com/ergebnis/phpstan-rules/pull/1
600624
[#4]: https://github.com/ergebnis/phpstan-rules/pull/4
@@ -684,6 +708,12 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
684708
[#940]: https://github.com/ergebnis/phpstan-rules/pull/940
685709
[#943]: https://github.com/ergebnis/phpstan-rules/pull/943
686710
[#944]: https://github.com/ergebnis/phpstan-rules/pull/944
711+
[#947]: https://github.com/ergebnis/phpstan-rules/pull/947
712+
[#948]: https://github.com/ergebnis/phpstan-rules/pull/948
713+
[#949]: https://github.com/ergebnis/phpstan-rules/pull/949
714+
[#951]: https://github.com/ergebnis/phpstan-rules/pull/951
715+
[#957]: https://github.com/ergebnis/phpstan-rules/pull/957
716+
[#958]: https://github.com/ergebnis/phpstan-rules/pull/958
687717

688718
[@cosmastech]: https://github.com/cosmastech
689719
[@enumag]: https://github.com/enumag

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ parameters:
286286
enabled: false
287287
```
288288

289-
#### `Expressions\NoEvalRule`
289+
#### `Expressions\NoErrorSuppressionRule`
290290

291-
This rule reports an error when the language construct [`eval()`](https://www.php.net/eval) is used.
291+
This rule reports an error when [`@`](https://www.php.net/manual/en/language.operators.errorcontrol.php) is used to suppress errors.
292292

293293
##### Disabling the rule
294294

@@ -297,13 +297,13 @@ You can set the `enabled` parameter to `false` to disable this rule.
297297
```neon
298298
parameters:
299299
ergebnis:
300-
noEval:
300+
noErrorSuppression:
301301
enabled: false
302302
```
303303

304-
#### `Expressions\NoErrorSuppressionRule`
304+
#### `Expressions\NoEvalRule`
305305

306-
This rule reports an error when [`@`](https://www.php.net/manual/en/language.operators.errorcontrol.php) is used to suppress errors.
306+
This rule reports an error when the language construct [`eval()`](https://www.php.net/eval) is used.
307307

308308
##### Disabling the rule
309309

@@ -312,7 +312,7 @@ You can set the `enabled` parameter to `false` to disable this rule.
312312
```neon
313313
parameters:
314314
ergebnis:
315-
noErrorSuppression:
315+
noEval:
316316
enabled: false
317317
```
318318

0 commit comments

Comments
 (0)