packages/PHPUnit/src/Rector/SpecificMethod/AssertCompareToSpecificMethodRector.php
private function moveFunctionArgumentsUp(Node $node): void
    {
        /** @var FuncCall $secondArgument */
        $secondArgument = $node->args[1]->value;
        $node->args[1] = $secondArgument->args[0];
    }
private function moveFunctionArgumentsUp(Node $node): void
    {
        /** @var FuncCall $secondArgument */
        $secondArgument = $node->args[1]->value;
        $node->args[1] = $secondArgument->args[0];
    }
private function moveFunctionArgumentsUp ( Node $ node ) : void { /** @var FuncCall $secondArgument */ $ secondArgument = $ node -> args [ 1 ] -> value ; $ node -> args [ 1 ] = $ secondArgument -> args [ 0 ] ; }
Handles custom error messages to not be overwrite by function with multiple args.
@param StaticCall|MethodCall $node
Handles custom error messages to not be overwrite by function with multiple args .