- Status changed to Fixed
7 months ago 7:10am 15 July 2024
$ phpcs --standard=drupal page_attach_library
FILE: ...web\modules\page_attach_library\src\Form\PageAttachLibrarySettingsForm.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
11 | WARNING | [ ] The class short comment should describe what the class
| | does and not simply repeat the class name
105 | ERROR | [x] Use null coalesce operator instead of ternary operator.
114 | ERROR | [x] Use null coalesce operator instead of ternary operator.
123 | ERROR | [x] Use null coalesce operator instead of ternary operator.
142 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.