PSR12.Files.FileHeader.SpacingAfterBlock: false positive when use
is used for class and function
#3935
Closed
3 tasks done
Labels
Describe the bug
PSR12.Files.FileHeader.SpacingAfterBlock check is false positive when
use
is used for class and function.Code sample
To reproduce
Steps to reproduce the behavior:
Test.php
with the code sample abovephpcs -s --standard=PSR12 --no-cache Test.php
Expected behavior
Checking should be passed
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: