FILE: /home/lenovo/d7to9/web/modules/contrib/sector_events/sector_events.module
--------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------------------------------------------
9 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for
| | xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block
| | templates."
18 | WARNING | [x] 'TODO - I would love to make this a bit more flexible. I don't like how' should match the
| | format '@todo Fix problem X here.'
21 | ERROR | [ ] Missing parameter comment
21 | ERROR | [ ] Missing parameter type
24 | ERROR | [x] Expected 1 space after IF keyword; 0 found
26 | ERROR | [x] Expected 1 space after IF keyword; 0 found
30 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
34 | ERROR | [x] Expected 1 newline at end of file; 3 found
--------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------
FILE: /home/lenovo/d7to9/web/modules/contrib/sector_events/config/views.view.sector_event.yml
---------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
882 | ERROR | [x] Expected 1 newline at end of file; 0 found
---------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------
FILE: /home/lenovo/d7to9/web/modules/contrib/sector_events/sector_events.install
--------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AND 8 WARNINGS AFFECTING 13 LINES
--------------------------------------------------------------------------------------------------------------------
11 | WARNING | [ ] Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for
| | xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "* Implements hook_foo_BAR_ID_bar() for block
| | templates."
11 | ERROR | [x] Doc comment short description must end with a full stop
44 | ERROR | [x] Expected 1 space after IF keyword; 0 found
61 | WARNING | [x] A comma should follow the last multiline array item. Found: 'd-inline-flex badge
| | badge-secondary mb-4'
62 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
78 | WARNING | [x] A comma should follow the last multiline array item. Found: 0
85 | WARNING | [x] A comma should follow the last multiline array item. Found: 'event'
87 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
90 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
94 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
95 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
96 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
98 | WARNING | [x] A comma should follow the last multiline array item. Found: ]
102 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------
Time: 86ms; Memory: 10MB
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig sector_events/
3.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.