CI #2553
Annotations
1 error and 2 warnings
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
src/Fixer/NoUselessParenthesisFixer.php#L117
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
private function isForbiddenBeforeOpenParenthesis(Tokens $tokens, int $index) : bool
{
- if ($tokens[$index]->isGivenKind([\T_ARRAY, \T_CLASS, \T_ELSEIF, \T_EMPTY, \T_EVAL, \T_EXIT, \T_HALT_COMPILER, \T_IF, \T_ISSET, \T_LIST, \T_STATIC, \T_STRING, \T_SWITCH, \T_UNSET, \T_VARIABLE, \T_WHILE, CT::T_CLASS_CONSTANT, CT::T_DOLLAR_CLOSE_CURLY_BRACES])) {
+ if ($tokens[$index]->isGivenKind([\T_ARRAY, \T_CLASS, \T_ELSEIF, \T_EMPTY, \T_EVAL, \T_EXIT, \T_HALT_COMPILER, \T_IF, \T_ISSET, \T_LIST, \T_STATIC, \T_STRING, \T_SWITCH, \T_UNSET, \T_VARIABLE, \T_WHILE, CT::T_CLASS_CONSTANT])) {
return true;
}
/** @var null|array{isStart: bool, type: int} $blockType */
|
This job failed
Loading