Skip to content

Commit a5d63ef

Browse files
committed
bump deps
1 parent d9c3582 commit a5d63ef

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
},
99
"require-dev": {
1010
"rector/rector-src": "dev-main",
11-
"phpunit/phpunit": "^11.4",
12-
"phpstan/phpstan": "^2.0",
13-
"symplify/easy-coding-standard": "^12.3",
11+
"phpunit/phpunit": "^11.5",
12+
"phpstan/phpstan": "^2.1",
13+
"phpecs/phpecs": "^2.0",
1414
"phpstan/extension-installer": "^1.4",
1515
"symplify/vendor-patches": "^11.3",
1616
"tracy/tracy": "^2.10",

rules/CodeQuality/Rector/MethodCall/AssertTrueFalseToSpecificMethodRector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ private function moveFunctionArgumentsUp(MethodCall|StaticCall $node): void
182182
return;
183183
}
184184

185-
186185
$funcCallOrEmptyNodeArgs = $funcCallOrEmptyNode->getArgs();
187186
$oldArguments = $node->getArgs();
188187
unset($oldArguments[0]);
@@ -216,7 +215,7 @@ private function buildNewArguments(
216215
return [...$funcCallOrEmptyNodeArgs, ...$oldArguments];
217216
}
218217

219-
if (in_array($funcCallOrEmptyNodeName, ['is_a', 'str_contains'])) {
218+
if (in_array($funcCallOrEmptyNodeName, ['is_a', 'str_contains'], true)) {
220219
// flip arguments
221220
$newArgs = [$funcCallOrEmptyNodeArgs[1], $funcCallOrEmptyNodeArgs[0]];
222221

0 commit comments

Comments
 (0)