Closed williamdes closed 1 year ago
Please try newest version.
Please try newest version.
Please re-open, I just tried 8.8.0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | An error occurred during processing; checking has been aborted. The error message was: Undefined index: scope_closer in
| | vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/UseStatementHelper.php on line 194 (Internal.Exception)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
⚠️ This needs to be run with PHP 7.2, newer PHP 8 does not reproduce.
So upgrade PHP :)
So upgrade PHP :)
Hey mate seriously, your composer.json supports 7.2.. https://github.com/slevomat/coding-standard/blob/master/composer.json#L19
Clearly I don't care about this issue, I changed the syntax. But that's not a cool answer to a real bug
The bug is probably in PHPCS itself anyway :)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
phpcbf
phpcs
I trimmed down the example to
Using
slevomat/coding-standard
7.2.1 It's most possible this still exists