vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig web/modules/contrib/layout_builder_browser/
FILE: .../web/modules/contrib/layout_builder_browser/layout_builder_browser.api.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
19 | ERROR | [ ] Missing parameter name
22 | ERROR | [x] Expected 1 blank line before function; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...odules/contrib/layout_builder_browser/src/Controller/BrowserController.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------
24 | WARNING | [ ] The class short comment should describe what the class
| | does and not simply repeat the class name
231 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $region
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...dules/contrib/layout_builder_browser/src/Form/BlockCategoryListingForm.php
--------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
37 | ERROR | [ ] The array declaration extends to column 99 (the limit is 80).
| | The array content should be split up over multiple lines
37 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
37 | ERROR | [x] Expected one space after the comma, 0 found
38 | ERROR | [ ] The array declaration extends to column 99 (the limit is 80).
| | The array content should be split up over multiple lines
38 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
38 | ERROR | [x] Expected one space after the comma, 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...b/web/modules/contrib/layout_builder_browser/src/Form/BlockListingForm.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
193 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'draggable'
265 | ERROR | [ ] The array declaration extends to column 90 (the limit is
| | 80). The array content should be split up over multiple
| | lines
265 | ERROR | [ ] The array declaration extends to column 89 (the limit is
| | 80). The array content should be split up over multiple
| | lines
335 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
345 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...drupalvb/web/modules/contrib/layout_builder_browser/src/Form/BlockForm.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 7 LINES
--------------------------------------------------------------------------------
42 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
77 | WARNING | [ ] Line exceeds 80 characters; contains 103 characters
92 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'block-id-wrapper'
122 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
137 | ERROR | [x] Functions must not contain multiple empty lines in a row;
| | found 2 empty lines
139 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency
| | injection instead
209 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...es/contrib/layout_builder_browser/src/Entity/LayoutBuilderBrowserBlock.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
99 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...b/web/modules/contrib/layout_builder_browser/layout_builder_browser.module
--------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
5 | ERROR | [x] Missing function doc comment
7 | ERROR | [x] Expected 1 space after IF keyword; 0 found
38 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: .../web/modules/contrib/layout_builder_browser/layout_builder_browser.install
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
41 | ERROR | [x] Expected 1 space(s) after cast statement; 0 found
58 | ERROR | [ ] Doc comment short description must start with a capital
| | letter
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 1.66 secs; Memory: 14MB