FILE: /var/www/html/web/modules/custom/simple_popup_blocks/simple_popup_blocks.module
----------------------------------------------------------------------------------------------
FOUND 16 ERRORS
----------------------------------------------------------------------------------------------
41 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
41 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
46 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
46 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
47 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
48 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
48 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 3
49 | ERROR | [x] Closing brace indented incorrectly; expected 3 spaces, found 6
55 | ERROR | [ ] unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
62 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
62 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
63 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
64 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
64 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/simple_popup_blocks.install
----------------------------------------------------------------------------------------------
FOUND 2 ERRORS
----------------------------------------------------------------------------------------------
181 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4
192 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/simple_popup_blocks.libraries.yml
----------------------------------------------------------------------------------------------
FOUND 1 ERROR
----------------------------------------------------------------------------------------------
10 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/src/SimplePopupBlocksStorage.php
----------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING
----------------------------------------------------------------------------------------------
6 | ERROR | [x] There must be one blank line after the last USE statement; 2 found;
11 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
21 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
21 | ERROR | [x] Data types in @param tags need to be fully namespaced
24 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
24 | ERROR | [x] Data types in @param tags need to be fully namespaced
35 | ERROR | [x] Expected 1 blank line before function; 2 found
58 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
58 | ERROR | [x] Data types in @param tags need to be fully namespaced
61 | ERROR | [ ] Parameter tags must be grouped together in a doc comment
61 | ERROR | [x] Data types in @param tags need to be fully namespaced
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/src/Form/SimplePopupBlocksAddForm.php
----------------------------------------------------------------------------------------------
FOUND 20 ERRORS AND 10 WARNINGS
----------------------------------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
9 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
26 | ERROR | [x] Data types in @var tags need to be fully namespaced
33 | ERROR | [x] Data types in @var tags need to be fully namespaced
40 | ERROR | [x] Data types in @var tags need to be fully namespaced
47 | ERROR | [ ] Missing parameter comment
47 | ERROR | [x] Data types in @param tags need to be fully namespaced
48 | ERROR | [ ] Missing parameter comment
48 | ERROR | [x] Data types in @param tags need to be fully namespaced
49 | ERROR | [ ] Missing parameter comment
49 | ERROR | [x] Data types in @param tags need to be fully namespaced
51 | ERROR | [x] There should be no white space before a closing ")"
51 | ERROR | [x] Expected 0 spaces before closing parenthesis; 1 found
116 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
127 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
213 | WARNING | [ ] #options values usually have to run through t() for translation
213 | WARNING | [ ] #options values usually have to run through t() for translation
221 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
221 | ERROR | [x] Whitespace found at end of line
274 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
279 | WARNING | [x] A comma should follow the last multiline array item. Found: )
284 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
380 | ERROR | [x] Expected one space after the comma, 0 found
380 | ERROR | [x] Expected one space after the comma, 0 found
382 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
382 | ERROR | [x] Concat operator must be surrounded by a single space
398 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
398 | ERROR | [x] Whitespace found at end of line
403 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 5
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/src/Form/SimplePopupBlocksEditForm.php
----------------------------------------------------------------------------------------------
FOUND 17 ERRORS AND 2 WARNINGS
----------------------------------------------------------------------------------------------
21 | ERROR | [x] Missing function doc comment
25 | ERROR | [x] Expected 1 blank line after function; 2 found
33 | ERROR | [x] Concat operator must be surrounded by a single space
43 | ERROR | [ ] unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
59 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 1
66 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
66 | ERROR | [x] Whitespace found at end of line
123 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
150 | WARNING | [ ] Unused variable $first.
215 | ERROR | [x] Concat operator must be surrounded by a single space
226 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
226 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 3
226 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 3
227 | ERROR | [x] Object operator not indented correctly; expected 3 spaces but found 6
234 | ERROR | [x] Spaces must be used for alignment; tabs are not allowed
234 | ERROR | [x] Whitespace found at end of line
238 | ERROR | [x] Expected 1 blank line after function; 0 found
239 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/src/Controller/SimplePopupBlocksController.php
----------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 2 WARNINGS
----------------------------------------------------------------------------------------------
20 | ERROR | [x] Data types in @var tags need to be fully namespaced
27 | ERROR | [x] Data types in @var tags need to be fully namespaced
47 | ERROR | [x] Expected 1 blank line after function; 2 found
66 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
74 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null"
78 | ERROR | [x] Expected 1 space before "=="; 0 found
115 | ERROR | [x] Case breaking statements must be followed by a single blank line
118 | ERROR | [x] Case breaking statements must be followed by a single blank line
150 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
150 | ERROR | [x] Concat operator must be surrounded by a single space
153 | ERROR | [x] Expected 1 blank line after function; 0 found
154 | ERROR | [x] The closing brace for the class must have an empty line before it
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/simple_popup_blocks.info.yml
----------------------------------------------------------------------------------------------
FOUND 1 ERROR
----------------------------------------------------------------------------------------------
7 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------------------------------
FILE: /var/www/html/web/modules/custom/simple_popup_blocks/js/simple_popup_blocks.js
----------------------------------------------------------------------------------------------
FOUND 13 ERRORS
----------------------------------------------------------------------------------------------
113 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
138 | ERROR | [x] Expected 1 space before "+"; 0 found
138 | ERROR | [x] Expected 1 space after "+"; 0 found
147 | ERROR | [x] Expected 1 space before "+"; 0 found
147 | ERROR | [x] Expected 1 space after "+"; 0 found
190 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
196 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
197 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
198 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
316 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
325 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
332 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
345 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found
----------------------------------------------------------------------------------------------