slevomat / coding-standard

Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
MIT License
1.39k stars 171 forks source link

PHP/UselessParentheses: prevent error for parse error #1626

Closed jrfnl closed 1 year ago

jrfnl commented 1 year ago

Fixes:

An error occurred during processing; checking has been aborted. The error message was: Undefined array key "parenthesis_closer" in path\to\SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff.php on line 178
jrfnl commented 1 year ago

Same remarks as I posted in #1624 apply to the build failure for this PR.

jrfnl commented 1 year ago

@kukulich Would you like me to rebase the other PRs ?

kukulich commented 1 year ago

@jrfnl No, thanks. I'm trying to fix situations in there one by one.