Skip to content

Commit bf04637

Browse files
committed
Bump to PHPStan 2.3
1 parent b4d80f4 commit bf04637

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"nikic/php-parser": "^5.9",
2525
"ondram/ci-detector": "^4.2",
2626
"phpstan/phpdoc-parser": "^2.3.3",
27-
"phpstan/phpstan": "^2.2.14",
27+
"phpstan/phpstan": "^2.3",
2828
"react/child-process": "^0.6.5",
2929
"react/event-loop": "^1.6",
3030
"react/socket": "^1.17",

‎rules/DeadCode/Rector/ClassMethod/RemoveUselessAssignFromPropertyPromotionRector.php‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ public function refactor(Node $node): ?Node
121121
return null;
122122
}
123123

124-
// empty data? nothing to remove
125-
if ($removeStmtKeys === []) {
126-
return null;
127-
}
128-
129124
foreach ($removeStmtKeys as $removeStmtKey) {
130125
unset($node->stmts[$removeStmtKey]);
131126
}

0 commit comments

Comments
 (0)