Skip to content

Commit aea91fd

Browse files
authored
update phpstan/nette (#5970)
1 parent bf4d513 commit aea91fd

8 files changed

Lines changed: 6973 additions & 6970 deletions

File tree

‎build/phpstan.neon‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
3+
- ../vendor/phpstan/phpstan-nette/extension.neon
34
- ../vendor/phpstan/phpstan-nette/rules.neon
45
- ../vendor/phpstan/phpstan-phpunit/extension.neon
56
- ../vendor/phpstan/phpstan-phpunit/rules.neon

‎changelog-generator/phpstan.neon‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
3+
- ../vendor/phpstan/phpstan-nette/extension.neon
34
- ../vendor/phpstan/phpstan-nette/rules.neon
45
- ../vendor/phpstan/phpstan-phpunit/extension.neon
56
- ../vendor/phpstan/phpstan-phpunit/rules.neon

‎changelog-generator/run.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
136136
],
137137
];
138138
$prBody = $pullRequests[0]['body'] ?? '';
139-
if (preg_match_all('/(?:closes?|fix(?:es)?)\s+(?:https:\/\/github\.com\/phpstan\/phpstan\/issues\/|phpstan\/phpstan#)(\d+)/i', $prBody, $matches)) {
139+
if (preg_match_all('/(?:closes?|fix(?:es)?)\s+(?:https:\/\/github\.com\/phpstan\/phpstan\/issues\/|phpstan\/phpstan#)(\d+)/i', $prBody, $matches) > 0) {
140140
foreach (array_unique($matches[1]) as $issueNumber) {
141141
$items[] = [
142142
'number' => (int) $issueNumber,

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"symfony/string": "^5.4.3"
6262
},
6363
"replace": {
64-
"phpstan/phpstan": "2.1.x",
64+
"phpstan/phpstan": "2.2.x",
6565
"symfony/polyfill-php73": "*"
6666
},
6767
"suggest": {

0 commit comments

Comments
 (0)