-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hey, my friend.
In a particular file:
<?php
/**
* File Name
*
* @phpcs:disable SlevomatCodingStandard.Files.FileLength.FileTooLong
* /
Doesn't work:
1 | ERROR | [ ] Your file is too long. Currently using 444 lines. Can be up to 260 lines.
| | (SlevomatCodingStandard.Files.FileLength.FileTooLong)
Though, this directive is honored:
@phpcs:disable SlevomatCodingStandard.Classes.ClassLength.ClassTooLong
It will be honored when run with the --standard=SlevomatCodingStandard specified. Also other Files directives are not disabling as expected.
Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels