FILE: /var/www/html/web/modules/custom/xtc/README.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ---------------------------------------------------------------------- 6 | WARNING | Line exceeds 80 characters; contains 90 characters 15 | WARNING | Line exceeds 80 characters; contains 116 characters ---------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/xtc.module -------------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------------------- 9 | ERROR | [x] There must be one blank line after the last USE statement; 0 found; 13 | ERROR | [x] Expected 1 blank line before function; 0 found 34 | ERROR | [ ] Type hint "array" missing for $info -------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/xtc.routing.yml ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 7 | WARNING | The administration page callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is | | about viewing but not changing configurations. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/plugins/xtcsearchui-plugins.md ----------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ----------------------------------------------------------------------------------- 9 | WARNING | Line exceeds 80 characters; contains 93 characters 20 | WARNING | Line exceeds 80 characters; contains 90 characters ----------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/plugins/xtc-plugins.md --------------------------------------------------------------------------- FOUND 1 ERROR AND 6 WARNINGS AFFECTING 6 LINES --------------------------------------------------------------------------- 24 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters 31 | WARNING | [ ] Line exceeds 80 characters; contains 89 characters 42 | WARNING | [ ] Line exceeds 80 characters; contains 92 characters 44 | WARNING | [ ] Line exceeds 80 characters; contains 122 characters 54 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters 56 | WARNING | [ ] Line exceeds 80 characters; contains 123 characters 56 | ERROR | [x] Expected 1 newline at end of file; 3 found --------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/about/principles.md ------------------------------------------------------------------------ FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES ------------------------------------------------------------------------ 16 | WARNING | Line exceeds 80 characters; contains 81 characters 26 | WARNING | Line exceeds 80 characters; contains 81 characters 34 | WARNING | Line exceeds 80 characters; contains 88 characters 42 | WARNING | Line exceeds 80 characters; contains 81 characters 57 | WARNING | Line exceeds 80 characters; contains 82 characters ------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/about/architecture.md -------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 81 characters -------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/about/to-be-done.md ------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------ 6 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/about/technical-vision.md ------------------------------------------------------------------------------ FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------ 5 | WARNING | Line exceeds 80 characters; contains 82 characters 8 | WARNING | Line exceeds 80 characters; contains 81 characters ------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/about/need-work.md ----------------------------------------------------------------------- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES ----------------------------------------------------------------------- 35 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters 40 | ERROR | [x] Expected 1 newline at end of file; 0 found ----------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/search/search-profile.md ----------------------------------------------------------------------------- FOUND 0 ERRORS AND 15 WARNINGS AFFECTING 15 LINES ----------------------------------------------------------------------------- 12 | WARNING | Line exceeds 80 characters; contains 141 characters 79 | WARNING | Line exceeds 80 characters; contains 93 characters 121 | WARNING | Line exceeds 80 characters; contains 90 characters 127 | WARNING | Line exceeds 80 characters; contains 95 characters 130 | WARNING | Line exceeds 80 characters; contains 95 characters 134 | WARNING | Line exceeds 80 characters; contains 90 characters 137 | WARNING | Line exceeds 80 characters; contains 95 characters 140 | WARNING | Line exceeds 80 characters; contains 95 characters 152 | WARNING | Line exceeds 80 characters; contains 96 characters 197 | WARNING | Line exceeds 80 characters; contains 99 characters 209 | WARNING | Line exceeds 80 characters; contains 115 characters 211 | WARNING | Line exceeds 80 characters; contains 108 characters 227 | WARNING | Line exceeds 80 characters; contains 103 characters 241 | WARNING | Line exceeds 80 characters; contains 86 characters 243 | WARNING | Line exceeds 80 characters; contains 109 characters ----------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/search/search-page.md -------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------- 76 | WARNING | [ ] Line exceeds 80 characters; contains 150 characters 149 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters 169 | ERROR | [x] Expected 1 newline at end of file; 0 found -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/search/search-display.md ----------------------------------------------------------------------------- FOUND 0 ERRORS AND 14 WARNINGS AFFECTING 14 LINES ----------------------------------------------------------------------------- 12 | WARNING | Line exceeds 80 characters; contains 148 characters 32 | WARNING | Line exceeds 80 characters; contains 94 characters 35 | WARNING | Line exceeds 80 characters; contains 162 characters 54 | WARNING | Line exceeds 80 characters; contains 112 characters 73 | WARNING | Line exceeds 80 characters; contains 93 characters 89 | WARNING | Line exceeds 80 characters; contains 140 characters 92 | WARNING | Line exceeds 80 characters; contains 88 characters 99 | WARNING | Line exceeds 80 characters; contains 93 characters 228 | WARNING | Line exceeds 80 characters; contains 102 characters 240 | WARNING | Line exceeds 80 characters; contains 137 characters 256 | WARNING | Line exceeds 80 characters; contains 112 characters 271 | WARNING | Line exceeds 80 characters; contains 93 characters 285 | WARNING | Line exceeds 80 characters; contains 140 characters 288 | WARNING | Line exceeds 80 characters; contains 88 characters ----------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/search/search-block.md --------------------------------------------------------------------------- FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES --------------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 98 characters 41 | WARNING | Line exceeds 80 characters; contains 150 characters 71 | WARNING | Line exceeds 80 characters; contains 119 characters 112 | WARNING | Line exceeds 80 characters; contains 88 characters 117 | WARNING | Line exceeds 80 characters; contains 130 characters 119 | WARNING | Line exceeds 80 characters; contains 112 characters 120 | WARNING | Line exceeds 80 characters; contains 117 characters --------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/index.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES ---------------------------------------------------------------------- 15 | WARNING | Line exceeds 80 characters; contains 89 characters 21 | WARNING | Line exceeds 80 characters; contains 109 characters 22 | WARNING | Line exceeds 80 characters; contains 112 characters 25 | WARNING | Line exceeds 80 characters; contains 86 characters 52 | WARNING | Line exceeds 80 characters; contains 113 characters 55 | WARNING | Line exceeds 80 characters; contains 111 characters ---------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/guzzle-profile.md --------------------------------------------------------------------------------- FOUND 1 ERROR AND 8 WARNINGS AFFECTING 9 LINES --------------------------------------------------------------------------------- 5 | WARNING | [ ] Line exceeds 80 characters; contains 181 characters 26 | WARNING | [ ] Line exceeds 80 characters; contains 155 characters 27 | WARNING | [ ] Line exceeds 80 characters; contains 129 characters 40 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 43 | WARNING | [ ] Line exceeds 80 characters; contains 120 characters 68 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 84 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters 104 | WARNING | [ ] Line exceeds 80 characters; contains 123 characters 115 | ERROR | [x] Expected 1 newline at end of file; 0 found --------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/elastica-profile.md ----------------------------------------------------------------------------------- FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES ----------------------------------------------------------------------------------- 5 | WARNING | [ ] Line exceeds 80 characters; contains 188 characters 50 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 80 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters 104 | WARNING | [ ] Line exceeds 80 characters; contains 127 characters 124 | ERROR | [x] Expected 1 newline at end of file; 0 found ----------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/handler.md -------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------- 1 | ERROR | [x] Expected 1 newline at end of file; 2 found -------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/server.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES ------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 147 characters 20 | WARNING | Line exceeds 80 characters; contains 122 characters 44 | WARNING | Line exceeds 80 characters; contains 93 characters 48 | WARNING | Line exceeds 80 characters; contains 81 characters 55 | WARNING | Line exceeds 80 characters; contains 144 characters 60 | WARNING | Line exceeds 80 characters; contains 94 characters 68 | WARNING | Line exceeds 80 characters; contains 103 characters 70 | WARNING | Line exceeds 80 characters; contains 86 characters 71 | WARNING | Line exceeds 80 characters; contains 105 characters ------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/request.md -------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------- 5 | WARNING | Line exceeds 80 characters; contains 155 characters 17 | WARNING | Line exceeds 80 characters; contains 119 characters 38 | WARNING | Line exceeds 80 characters; contains 110 characters -------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/elasticsearch-profile.md ---------------------------------------------------------------------------------------- FOUND 1 ERROR AND 8 WARNINGS AFFECTING 9 LINES ---------------------------------------------------------------------------------------- 5 | WARNING | [ ] Line exceeds 80 characters; contains 188 characters 26 | WARNING | [ ] Line exceeds 80 characters; contains 155 characters 27 | WARNING | [ ] Line exceeds 80 characters; contains 129 characters 40 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 43 | WARNING | [ ] Line exceeds 80 characters; contains 120 characters 68 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 84 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters 104 | WARNING | [ ] Line exceeds 80 characters; contains 123 characters 115 | ERROR | [x] Expected 1 newline at end of file; 0 found ---------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/coding-xtc/file-profile.md ------------------------------------------------------------------------------- FOUND 1 ERROR AND 8 WARNINGS AFFECTING 9 LINES ------------------------------------------------------------------------------- 5 | WARNING | [ ] Line exceeds 80 characters; contains 148 characters 20 | WARNING | [ ] Line exceeds 80 characters; contains 124 characters 36 | WARNING | [ ] Line exceeds 80 characters; contains 93 characters 54 | WARNING | [ ] Line exceeds 80 characters; contains 108 characters 56 | WARNING | [ ] Line exceeds 80 characters; contains 115 characters 71 | WARNING | [ ] Line exceeds 80 characters; contains 87 characters 90 | WARNING | [ ] Line exceeds 80 characters; contains 118 characters 116 | WARNING | [ ] Line exceeds 80 characters; contains 90 characters 136 | ERROR | [x] Expected 1 newline at end of file; 0 found ------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcelasticsearch.md -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters -------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtc.md ---------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ---------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcelastica.md --------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters --------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcguzzle.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcdrupal.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcschema.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcsearch.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/modules/xtcfile.md ----------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------- 19 | WARNING | Line exceeds 80 characters; contains 85 characters ----------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/helpers/plugins-helpers.md ------------------------------------------------------------------------------- FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES ------------------------------------------------------------------------------- 3 | WARNING | Line exceeds 80 characters; contains 83 characters 11 | WARNING | Line exceeds 80 characters; contains 83 characters 20 | WARNING | Line exceeds 80 characters; contains 92 characters 75 | WARNING | Line exceeds 80 characters; contains 101 characters ------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/help/docs/using-xtc/data-caching.md ------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------ 26 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/using-xtc/load-content.md ------------------------------------------------------------------------------ FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES ------------------------------------------------------------------------------ 36 | WARNING | [ ] Line exceeds 80 characters; contains 99 characters 91 | WARNING | [ ] Line exceeds 80 characters; contains 108 characters 99 | ERROR | [x] Expected 1 newline at end of file; 2 found ------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/help/docs/using-xtc/override-profile.md ---------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ---------------------------------------------------------------------------------- 26 | WARNING | Line exceeds 80 characters; contains 81 characters ---------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderServer.php ---------------------------------------------------------------------------------------------------------------------- FOUND 15 ERRORS AFFECTING 13 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 15 | ERROR | [x] Missing class doc comment 16 | ERROR | [x] Opening brace should be on the same line as the declaration 18 | ERROR | [ ] Class constants must be uppercase; expected XTCSERVERSTRUCT but found XtcServerStruct 23 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Expected 1 space before opening brace; found 0 27 | ERROR | [x] Missing function doc comment 31 | ERROR | [ ] Missing short description in doc comment 47 | ERROR | [x] Expected 1 space after IF keyword; 0 found 48 | ERROR | [x] Expected 1 space after IF keyword; 0 found 51 | ERROR | [x] Expected newline after closing brace ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderAction.php ---------------------------------------------------------------------------------------------------------------------- FOUND 18 ERRORS AFFECTING 17 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 16 | ERROR | [x] Missing function doc comment 22 | ERROR | [x] Missing function doc comment 26 | ERROR | [x] Missing function doc comment 28 | ERROR | [x] Each PHP statement must be on a line by itself 31 | ERROR | [x] Each PHP statement must be on a line by itself 36 | ERROR | [x] Each PHP statement must be on a line by itself 39 | ERROR | [x] Expected 1 space after IF keyword; 0 found 44 | ERROR | [x] Expected 1 space after IF keyword; 0 found 49 | ERROR | [x] Expected 1 space after IF keyword; 0 found 55 | ERROR | [x] Missing function doc comment 56 | ERROR | [x] Expected 1 space after IF keyword; 0 found 59 | ERROR | [x] Expected 1 space after IF keyword; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderTrigger.php ------------------------------------------------------------------------------------------------------------------------ FOUND 8 ERRORS AND 1 WARNING AFFECTING 7 LINES ------------------------------------------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 16 | WARNING | [ ] Possible useless method overriding detected 16 | ERROR | [x] Missing function doc comment 20 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/ExporterBase.php ---------------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 12 | ERROR | [x] Missing class doc comment ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcContentBuilder.php ---------------------------------------------------------------------------------------------- FOUND 36 ERRORS AFFECTING 33 LINES ---------------------------------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace declaration 8 | ERROR | [x] Missing class doc comment 11 | ERROR | [ ] Missing short description in doc comment 12 | ERROR | [ ] Missing parameter comment 13 | ERROR | [ ] Missing parameter comment 14 | ERROR | [ ] Missing parameter comment 16 | ERROR | [ ] Description for the @return value is missing 18 | ERROR | [x] The static declaration must come after the visibility declaration 18 | ERROR | [x] Expected 1 blank line before function; 2 found 18 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 25 | ERROR | [x] Case breaking statements must be followed by a single blank line 31 | ERROR | [x] Case breaking statements must be followed by a single blank line 34 | ERROR | [x] Case breaking statements must be followed by a single blank line 38 | ERROR | [x] Expected 1 space after IF keyword; 0 found 49 | ERROR | [ ] Missing short description in doc comment 50 | ERROR | [ ] Missing parameter comment 51 | ERROR | [ ] Missing parameter comment 53 | ERROR | [ ] Description for the @return value is missing 55 | ERROR | [x] The static declaration must come after the visibility declaration 67 | ERROR | [ ] Missing short description in doc comment 68 | ERROR | [ ] Missing parameter comment 69 | ERROR | [ ] Missing parameter comment 71 | ERROR | [ ] Description for the @return value is missing 73 | ERROR | [x] The static declaration must come after the visibility declaration 73 | ERROR | [x] Expected 1 space after FUNCTION keyword; 2 found 76 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 77 | ERROR | [x] Expected 1 space after IF keyword; 0 found 99 | ERROR | [ ] Missing short description in doc comment 100 | ERROR | [ ] Missing parameter comment 101 | ERROR | [ ] Missing parameter comment 102 | ERROR | [ ] Missing parameter comment 103 | ERROR | [ ] Missing parameter comment 105 | ERROR | [ ] Description for the @return value is missing 107 | ERROR | [x] The static declaration must come after the visibility declaration 118 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 119 | ERROR | [x] Expected 1 space after IF keyword; 0 found ---------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/WriterBase.php ---------------------------------------------------------------------------------------------------------------------- FOUND 15 ERRORS AFFECTING 12 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 12 | ERROR | [x] Missing class doc comment 13 | ERROR | [x] Opening brace should be on the same line as the declaration 15 | ERROR | [ ] Missing short description in doc comment 16 | ERROR | [ ] Missing parameter comment 16 | ERROR | [ ] Missing parameter type 17 | ERROR | [ ] Missing parameter comment 17 | ERROR | [ ] Missing parameter type 18 | ERROR | [ ] Missing parameter comment 20 | ERROR | [ ] Description for the @return value is missing 22 | ERROR | [ ] Type hint "array" missing for $options ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearchAutocomplete.php ---------------------------------------------------------------------------------------------------------------------- FOUND 17 ERRORS AFFECTING 13 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [ ] Missing parameter comment 18 | ERROR | [ ] Missing parameter type 20 | ERROR | [ ] Description for the @return value is missing 24 | ERROR | [x] PHP keywords must be lowercase; expected "new" but found "New" 26 | ERROR | [x] Expected 1 space after IF keyword; 0 found 26 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 30 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found 30 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 32 | ERROR | [x] Expected 1 space after IF keyword; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderBase.php ------------------------------------------------------------------------------------------------------------------------ FOUND 29 ERRORS AND 1 WARNING AFFECTING 23 LINES ------------------------------------------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 12 | ERROR | [x] Doc comment short description must end with a full stop 15 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 17 | ERROR | [x] Opening brace should be on the same line as the declaration 19 | ERROR | [x] Missing function doc comment 19 | ERROR | [x] Expected 1 space before opening brace; found 0 23 | ERROR | [x] Missing function doc comment 25 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 18 32 | ERROR | [x] Missing function doc comment 32 | ERROR | [x] Expected 1 space before opening brace; found 0 34 | ERROR | [x] Expected 1 space after IF keyword; 0 found 34 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 40 | ERROR | [x] The abstract declaration must precede the visibility declaration 40 | ERROR | [x] Missing function doc comment 42 | ERROR | [ ] Missing short description in doc comment 43 | ERROR | [ ] Missing parameter comment 43 | ERROR | [ ] Missing parameter type 45 | ERROR | [ ] Description for the @return value is missing 48 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 51 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 10 52 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true" 54 | ERROR | [x] Expected 1 space after IF keyword; 0 found 61 | ERROR | [ ] Missing short description in doc comment 62 | ERROR | [ ] Missing parameter comment 62 | ERROR | [ ] Missing parameter type 64 | ERROR | [ ] Description for the @return value is missing 68 | ERROR | [x] Expected 1 blank line after function; 0 found ------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearchLoaderPager.php ---------------------------------------------------------------------------------------------------------------------- FOUND 11 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Expected 1 space before opening brace; found 0 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Expected 1 blank line after function; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderHandler.php ---------------------------------------------------------------------------------------------------------------------- FOUND 20 ERRORS AFFECTING 17 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 16 | ERROR | [ ] Missing short description in doc comment 17 | ERROR | [ ] Missing parameter comment 17 | ERROR | [ ] Missing parameter type 18 | ERROR | [ ] Missing parameter comment 20 | ERROR | [ ] Description for the @return value is missing 22 | ERROR | [ ] Type hint "array" missing for $options 29 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [ ] Description for the @return value is missing 36 | ERROR | [ ] Missing short description in doc comment 37 | ERROR | [ ] Missing parameter comment 37 | ERROR | [ ] Missing parameter type 38 | ERROR | [ ] Missing parameter comment 40 | ERROR | [ ] Description for the @return value is missing 42 | ERROR | [ ] Type hint "array" missing for $options ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/ImporterBase.php ---------------------------------------------------------------------------------------------------------------------- FOUND 6 ERRORS AFFECTING 5 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 12 | ERROR | [x] Missing class doc comment ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearchLoaderDisplay.php ---------------------------------------------------------------------------------------------------------------------- FOUND 11 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Expected 1 space before opening brace; found 0 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Expected 1 blank line after function; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/ToolBox.php ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 88 ERRORS AND 6 WARNINGS AFFECTING 72 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 12 | WARNING | [x] Unused use statement 14 | WARNING | [x] Unused use statement 18 | ERROR | [x] Doc comment short description must end with a full stop 21 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 23 | ERROR | [x] Opening brace should be on the same line as the declaration 26 | ERROR | [ ] Doc comment short description must end with a full stop 28 | ERROR | [ ] Parameter comment must start with a capital letter 28 | ERROR | [x] Parameter comment must be on the next line 28 | ERROR | [x] Parameter comment must end with a full stop 30 | ERROR | [ ] Description for the @return value is missing 33 | ERROR | [x] Opening brace should be on the same line as the declaration 34 | ERROR | [x] Short array syntax must be used to define arrays 37 | ERROR | [x] Expected one space after the comma, 0 found 39 | ERROR | [x] Expected one space after the comma, 0 found 41 | ERROR | [x] Expected one space after the comma, 0 found 41 | WARNING | [x] A comma should follow the last multiline array item. Found: 'ǿ' 43 | ERROR | [x] Short array syntax must be used to define arrays 50 | WARNING | [x] A comma should follow the last multiline array item. Found: 'o' 56 | ERROR | [ ] Missing short description in doc comment 57 | ERROR | [ ] Missing parameter comment 57 | ERROR | [ ] Missing parameter type 59 | ERROR | [ ] Description for the @return value is missing 61 | ERROR | [x] Expected 1 space before opening brace; found 0 66 | ERROR | [ ] Missing short description in doc comment 67 | ERROR | [ ] Missing parameter comment 67 | ERROR | [ ] Missing parameter type 69 | ERROR | [ ] Description for the @return value is missing 76 | ERROR | [ ] Missing short description in doc comment 77 | ERROR | [ ] Missing parameter comment 77 | ERROR | [ ] Missing parameter type 78 | ERROR | [ ] Missing parameter comment 78 | ERROR | [ ] Missing parameter type 80 | ERROR | [ ] Description for the @return value is missing 84 | ERROR | [x] Expected 1 blank line after function; 2 found 87 | WARNING | [ ] There must be no blank line following an inline comment 87 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 89 | ERROR | [ ] Missing short description in doc comment 90 | ERROR | [ ] Missing parameter comment 90 | ERROR | [ ] Missing parameter type 91 | ERROR | [ ] Missing parameter comment 91 | ERROR | [ ] Missing parameter type 92 | ERROR | [ ] Missing parameter comment 92 | ERROR | [ ] Missing parameter type 94 | ERROR | [ ] Description for the @return value is missing 101 | ERROR | [ ] Missing short description in doc comment 102 | ERROR | [ ] Missing parameter comment 102 | ERROR | [ ] Missing parameter type 103 | ERROR | [ ] Missing parameter comment 103 | ERROR | [ ] Missing parameter type 104 | ERROR | [ ] Missing parameter comment 104 | ERROR | [ ] Missing parameter type 106 | ERROR | [ ] Description for the @return value is missing 113 | ERROR | [x] Missing function doc comment 113 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 118 | ERROR | [ ] Missing short description in doc comment 119 | ERROR | [ ] Description for the @return value is missing 134 | ERROR | [x] Missing function doc comment 146 | ERROR | [x] Expected 1 blank line after function; 0 found 147 | ERROR | [ ] Missing short description in doc comment 148 | ERROR | [ ] Missing parameter comment 148 | ERROR | [ ] Missing parameter type 149 | ERROR | [ ] Missing parameter comment 151 | ERROR | [ ] Description for the @return value is missing 153 | ERROR | [ ] Type hint "false" missing for $isFieldable 153 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found 153 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false" 174 | ERROR | [ ] Missing short description in doc comment 175 | ERROR | [ ] Missing parameter comment 175 | ERROR | [ ] Missing parameter type 176 | ERROR | [ ] Missing parameter comment 178 | ERROR | [ ] Description for the @return value is missing 192 | ERROR | [x] Expected 1 space after IF keyword; 0 found 194 | ERROR | [ ] key_exists() is a function name alias, use array_key_exists() instead 195 | ERROR | [x] Expected one space after the comma, 0 found 197 | ERROR | [x] Concat operator must be surrounded by a single space 204 | ERROR | [x] Missing function doc comment 204 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found 207 | ERROR | [x] Expected 1 space after IF keyword; 0 found 212 | ERROR | [ ] Missing short description in doc comment 213 | ERROR | [ ] Description for the @return value is missing 219 | ERROR | [x] Expected 1 space after IF keyword; 0 found 229 | ERROR | [ ] Missing short description in doc comment 230 | ERROR | [ ] Description for the @return value is missing 241 | ERROR | [x] Missing function doc comment 242 | ERROR | [x] No space found before comment text; expected "// Detect all xtc_profile available Plugins" but found "//Detect all xtc_profile available Plugins" 242 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses 247 | ERROR | [x] Missing function doc comment 257 | ERROR | [x] Missing function doc comment 260 | ERROR | [x] Expected 1 blank line after function; 0 found ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcElasticaLoaderMapping.php ---------------------------------------------------------------------------------------------------------------------- FOUND 10 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [x] Missing function doc comment 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Expected 1 blank line after function; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderFieldType.php ---------------------------------------------------------------------------------------------------------------------- FOUND 17 ERRORS AFFECTING 13 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 16 | ERROR | [ ] Missing short description in doc comment 17 | ERROR | [ ] Missing parameter comment 17 | ERROR | [ ] Missing parameter type 18 | ERROR | [ ] Missing parameter comment 20 | ERROR | [ ] Description for the @return value is missing 20 | ERROR | [x] Data types in @return tags need to be fully namespaced 22 | ERROR | [ ] Type hint "array" missing for $options 22 | ERROR | [x] Expected 1 space before opening brace; found 0 24 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 32 | ERROR | [ ] Missing short description in doc comment 33 | ERROR | [ ] Description for the @return value is missing ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearch.php ------------------------------------------------------------------------------------------------------------------------ FOUND 9 ERRORS AND 1 WARNING AFFECTING 9 LINES ------------------------------------------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 15 | ERROR | [x] Doc comment short description must end with a full stop 18 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name 20 | ERROR | [x] Opening brace should be on the same line as the declaration 22 | ERROR | [x] Missing function doc comment 25 | ERROR | [x] Object operator not indented correctly; expected 6 spaces but found 18 ------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderCache.php ---------------------------------------------------------------------------------------------------------------------- FOUND 8 ERRORS AFFECTING 7 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 16 | ERROR | [x] Missing function doc comment 20 | ERROR | [x] Missing function doc comment ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcLoaderProfile.php ------------------------------------------------------------------------------------------------------------------------- FOUND 50 ERRORS AND 1 WARNING AFFECTING 44 LINES ------------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 11 | WARNING | [x] Unused use statement 15 | ERROR | [x] Missing class doc comment 17 | ERROR | [x] Missing function doc comment 21 | ERROR | [ ] Missing short description in doc comment 22 | ERROR | [ ] Missing parameter comment 22 | ERROR | [ ] Missing parameter type 23 | ERROR | [ ] Missing parameter comment 25 | ERROR | [ ] Description for the @return value is missing 27 | ERROR | [ ] Type hint "array" missing for $options 35 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [ ] Missing parameter comment 36 | ERROR | [ ] Missing parameter type 37 | ERROR | [ ] Missing parameter comment 39 | ERROR | [ ] Description for the @return value is missing 41 | ERROR | [ ] Type hint "array" missing for $options 49 | ERROR | [ ] Missing short description in doc comment 50 | ERROR | [ ] Missing parameter comment 50 | ERROR | [ ] Missing parameter type 51 | ERROR | [ ] Missing parameter comment 53 | ERROR | [ ] Description for the @return value is missing 55 | ERROR | [ ] Type hint "array" missing for $options 63 | ERROR | [ ] Missing short description in doc comment 64 | ERROR | [ ] Missing parameter comment 64 | ERROR | [ ] Missing parameter type 65 | ERROR | [ ] Missing parameter comment 67 | ERROR | [ ] Description for the @return value is missing 69 | ERROR | [ ] Type hint "array" missing for $options 77 | ERROR | [ ] Missing short description in doc comment 78 | ERROR | [ ] Missing parameter comment 78 | ERROR | [ ] Missing parameter type 79 | ERROR | [ ] Missing parameter comment 81 | ERROR | [ ] Description for the @return value is missing 83 | ERROR | [ ] Type hint "array" missing for $options 91 | ERROR | [x] Missing function doc comment 95 | ERROR | [ ] Missing short description in doc comment 96 | ERROR | [ ] Missing parameter comment 96 | ERROR | [ ] Missing parameter type 97 | ERROR | [ ] Missing parameter comment 99 | ERROR | [ ] Description for the @return value is missing 101 | ERROR | [ ] Type hint "array" missing for $options 120 | ERROR | [ ] Missing short description in doc comment 135 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found 141 | ERROR | [x] Case breaking statements must be followed by a single blank line 146 | ERROR | [x] Case breaking statements must be followed by a single blank line 152 | ERROR | [x] Case breaking statements must be followed by a single blank line 154 | ERROR | [x] There should be no white space before a closing ")" 160 | ERROR | [x] Case breaking statements must be followed by a single blank line ------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/ImportExportBase.php ---------------------------------------------------------------------------------------------------------------------- FOUND 33 ERRORS AFFECTING 26 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 15 | ERROR | [x] Missing class doc comment 17 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [ ] Missing parameter comment 18 | ERROR | [ ] Missing parameter type 19 | ERROR | [ ] Missing parameter comment 21 | ERROR | [ ] Description for the @return value is missing 23 | ERROR | [ ] Type hint "array" missing for $options 27 | ERROR | [x] PHP keywords must be lowercase; expected "new" but found "New" 30 | ERROR | [ ] Missing short description in doc comment 31 | ERROR | [ ] Missing parameter comment 31 | ERROR | [ ] Missing parameter type 32 | ERROR | [ ] Missing parameter comment 34 | ERROR | [ ] Description for the @return value is missing 36 | ERROR | [ ] Type hint "array" missing for $options 40 | ERROR | [ ] Missing short description in doc comment 41 | ERROR | [ ] Missing parameter comment 41 | ERROR | [ ] Missing parameter type 43 | ERROR | [ ] Description for the @return value is missing 49 | ERROR | [ ] Missing short description in doc comment 50 | ERROR | [ ] Missing parameter comment 50 | ERROR | [ ] Missing parameter type 51 | ERROR | [ ] Missing parameter comment 51 | ERROR | [ ] Missing parameter type 52 | ERROR | [ ] Missing parameter comment 54 | ERROR | [ ] Description for the @return value is missing 56 | ERROR | [ ] Type hint "array" missing for $options 56 | ERROR | [x] Expected 1 space before opening brace; found 0 57 | ERROR | [x] PHP keywords must be lowercase; expected "new" but found "New" ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearchLoaderFilterType.php ---------------------------------------------------------------------------------------------------------------------- FOUND 12 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Expected 1 space before opening brace; found 0 21 | ERROR | [x] Missing function doc comment 25 | ERROR | [x] Missing function doc comment 25 | ERROR | [x] Expected 1 space before opening brace; found 0 ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/API/XtcSearchLoaderFilter.php ---------------------------------------------------------------------------------------------------------------------- FOUND 13 ERRORS AFFECTING 9 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 14 | ERROR | [x] Missing class doc comment 15 | ERROR | [x] Opening brace should be on the same line as the declaration 17 | ERROR | [x] Missing function doc comment 17 | ERROR | [x] Expected 1 space before opening brace; found 0 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 4 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Closing brace indented incorrectly; expected 4 spaces, found 2 23 | ERROR | [x] Expected 1 blank line after function; 0 found ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/Interfaces/WriteInterface.php ------------------------------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 5 LINES ------------------------------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace declaration 8 | ERROR | [x] Missing interface doc comment 10 | ERROR | [ ] Missing short description in doc comment 11 | ERROR | [ ] Missing parameter comment 11 | ERROR | [ ] Missing parameter type 13 | ERROR | [ ] Description for the @return value is missing 13 | ERROR | [x] Data types in @return tags need to be fully namespaced ------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/XtendedContent/Interfaces/DeleteInterface.php -------------------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 4 LINES -------------------------------------------------------------------------------------------- 3 | ERROR | [x] There must be one blank line after the namespace declaration 8 | ERROR | [x] Missing interface doc comment 10 | ERROR | [ ] Missing short description in doc comment 11 | ERROR | [ ] Description for the @return value is missing 11 | ERROR | [x] Data types in @return tags need to be fully namespaced -------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcAction/Writer.php ------------------------------------------------------------------------------------- FOUND 13 ERRORS AND 1 WARNING AFFECTING 12 LINES ------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 4 | ERROR | [x] There must be one blank line after the namespace declaration 7 | WARNING | [x] Unused use statement 23 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing parameter comment 24 | ERROR | [ ] Missing parameter type 33 | ERROR | [x] Expected 1 space after IF keyword; 0 found 36 | ERROR | [x] Expected 1 space after IF keyword; 0 found 56 | ERROR | [x] Missing function doc comment 63 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found 70 | ERROR | [x] Case breaking statements must be followed by a single blank line 85 | ERROR | [x] Missing function doc comment 85 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found 88 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcAction/Get.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 24 ERRORS AFFECTING 20 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 4 | ERROR | [x] There must be one blank line after the namespace declaration 20 | ERROR | [x] Missing class doc comment 22 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [ ] Missing parameter comment 23 | ERROR | [ ] Missing parameter type 30 | ERROR | [x] Expected 1 space after IF keyword; 0 found 32 | ERROR | [x] Expected 1 space after IF keyword; 0 found 35 | ERROR | [x] Expected 1 space after IF keyword; 0 found 36 | ERROR | [x] Expected 1 space after IF keyword; 0 found 38 | ERROR | [x] Concat operator must be surrounded by a single space 38 | ERROR | [x] Concat operator must be surrounded by a single space 47 | ERROR | [x] Expected newline after closing brace 55 | ERROR | [x] Missing function doc comment 58 | ERROR | [x] Missing function doc comment 59 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0 59 | ERROR | [x] 4 spaces found before inline comment; expected "// $this->currentEntity = $content['entity'];" but found "// $this->currentEntity = $content['entity'];" 60 | ERROR | [x] Expected 1 space after IF keyword; 0 found 69 | ERROR | [ ] Missing short description in doc comment 70 | ERROR | [ ] Missing parameter comment 70 | ERROR | [ ] Missing parameter type 72 | ERROR | [ ] Description for the @return value is missing 77 | ERROR | [x] Expected 1 space after IF keyword; 0 found 84 | ERROR | [x] Expected 1 space after IF keyword; 0 found ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcAction/SymLink.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 9 ERRORS AND 1 WARNING AFFECTING 7 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 4 | ERROR | [x] There must be one blank line after the namespace declaration 21 | ERROR | [x] Missing class doc comment 23 | ERROR | [ ] Missing short description in doc comment 24 | ERROR | [ ] Missing parameter comment 24 | ERROR | [ ] Missing parameter type 31 | WARNING | [ ] Line exceeds 80 characters; contains 97 characters 31 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 0 31 | ERROR | [x] 4 spaces found before inline comment; expected "// $fileName = $this->trigger . '/' . $this->getFullName($definition['options']['full_link']);" but found "// $fileName = | | $this->trigger . '/' . $this->getFullName($definition['options']['full_link']);" 40 | ERROR | [x] Expected 1 space after IF keyword; 0 found ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcAction/JsonWriter.php --------------------------------------------------------------------------------- FOUND 4 ERRORS AND 3 WARNINGS AFFECTING 6 LINES --------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 4 | ERROR | [x] There must be one blank line after the namespace declaration 8 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 10 | WARNING | [x] Unused use statement 23 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Expected 0 spaces before opening parenthesis; 1 found --------------------------------------------------------------------------------- PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcAction/Entity.php --------------------------------------------------------------------------------- FOUND 10 ERRORS AND 5 WARNINGS AFFECTING 13 LINES --------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 4 | ERROR | [x] There must be one blank line after the namespace declaration 7 | WARNING | [x] Unused use statement 8 | WARNING | [x] Unused use statement 9 | WARNING | [x] Unused use statement 11 | WARNING | [x] Unused use statement 24 | ERROR | [ ] Missing short description in doc comment 27 | ERROR | [x] The var keyword must not be used to declare a property 27 | ERROR | [ ] Visibility must be declared on property "$entity" 29 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [ ] Missing parameter comment 30 | ERROR | [ ] Missing parameter type 32 | ERROR | [ ] Description for the @return value is missing 38 | WARNING | [ ] The variable name should be defined after the type 47 | ERROR | [x] Expected 1 space after "="; 2 found --------------------------------------------------------------------------------- PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcHandler/TouchGet.php ---------------------------------------------------------------------------------------------------------------------- FOUND 7 ERRORS AFFECTING 6 LINES ---------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration 25 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [ ] Description for the @return value is missing ---------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/Plugin/XtcHandler/DummyGet.php --------------------------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 4 LINES --------------------------------------------------------------------------------------------------------------------- 1 | ERROR | [x] The PHP open tag must be followed by exactly one blank line 2 | ERROR | [x] Namespaced classes, interfaces and traits should not begin with a file doc comment 6 | ERROR | [ ] Doc comment short description must end with a full stop 6 | ERROR | [ ] Doc comment short description must be on a single line, further text should be a separate paragraph 9 | ERROR | [x] There must be one blank line after the namespace declaration --------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcCache/XtcCachePluginManager.php ----------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ----------------------------------------------------------------------------------------------- 26 | ERROR | [x] Expected 1 blank line before function; 2 found ----------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcCache/XtcCachePluginBase.php -------------------------------------------------------------------------------------------- FOUND 12 ERRORS AND 1 WARNING AFFECTING 11 LINES -------------------------------------------------------------------------------------------- 12 | ERROR | [ ] Missing short description in doc comment 20 | ERROR | [ ] Missing parameter comment 21 | ERROR | [ ] Missing parameter comment 21 | ERROR | [ ] Missing parameter type 22 | ERROR | [ ] Missing parameter comment 22 | ERROR | [ ] Missing parameter type 24 | WARNING | [ ] Possible useless method overriding detected 28 | ERROR | [ ] Missing short description in doc comment 29 | ERROR | [ ] Description for the @return value is missing 35 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [ ] Description for the @return value is missing 47 | ERROR | [x] Missing function doc comment 51 | ERROR | [x] Missing function doc comment -------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcCache/XtcCacheInterface.php ------------------------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 4 LINES ------------------------------------------------------------------------------------------- 12 | ERROR | [ ] Missing short description in doc comment 13 | ERROR | [ ] Description for the @return value is missing 17 | ERROR | [x] Missing function doc comment 19 | ERROR | [x] Missing function doc comment ------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcPluginBase.php ------------------------------------------------------------------------------------------------ FOUND 16 ERRORS AFFECTING 13 LINES ------------------------------------------------------------------------------------------------ 5 | ERROR | [x] Missing class doc comment 5 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced with use statements 7 | ERROR | [ ] Missing short description in doc comment 10 | ERROR | [x] The var keyword must not be used to declare a property 10 | ERROR | [ ] Visibility must be declared on property "$options" 13 | ERROR | [ ] Missing short description in doc comment 14 | ERROR | [ ] Description for the @return value is missing 16 | ERROR | [x] Expected 1 blank line before function; 2 found 20 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [ ] Missing parameter comment 21 | ERROR | [ ] Missing parameter type 23 | ERROR | [ ] Description for the @return value is missing 26 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "NULL" but found "null" 29 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [ ] Missing parameter comment 34 | ERROR | [ ] Type hint "array" missing for $options ------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcProfile/XtcProfilePluginManager.php --------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------- 14 | WARNING | Line exceeds 80 characters; contains 83 characters 33 | WARNING | Line exceeds 80 characters; contains 84 characters --------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcAction/XtcActionPluginBase.php ------------------------------------------------------------------------------------------------- FOUND 57 ERRORS AND 1 WARNING AFFECTING 43 LINES ------------------------------------------------------------------------------------------------- 9 | ERROR | [x] There must be one blank line after the last USE statement; 3 found; 12 | ERROR | [ ] More than 2 empty lines are not allowed 18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 18 | ERROR | [x] 2 spaces found before inline comment; expected "// /**" but found "// /**" 19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 19 | ERROR | [ ] Comment indentation error, expected only 2 spaces 20 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 24 | ERROR | [ ] Comment indentation error, expected only 2 spaces 25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 26 | WARNING | [ ] There must be no blank line following an inline comment 26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found 0 28 | ERROR | [ ] Missing short description in doc comment 31 | ERROR | [x] The var keyword must not be used to declare a property 31 | ERROR | [ ] Visibility must be declared on property "$handler" 33 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [x] The var keyword must not be used to declare a property 36 | ERROR | [ ] Visibility must be declared on property "$definition" 38 | ERROR | [ ] Missing short description in doc comment 41 | ERROR | [x] The var keyword must not be used to declare a property 41 | ERROR | [ ] Visibility must be declared on property "$profile" 43 | ERROR | [ ] Missing short description in doc comment 44 | ERROR | [x] Data types in @var tags need to be fully namespaced 46 | ERROR | [x] The var keyword must not be used to declare a property 46 | ERROR | [ ] Visibility must be declared on property "$trigger" 48 | ERROR | [x] The var keyword must not be used to declare a property 48 | ERROR | [ ] Visibility must be declared on property "$name" 48 | ERROR | [ ] Missing member variable doc comment 58 | ERROR | [ ] Missing short description in doc comment 59 | ERROR | [ ] Missing parameter comment 59 | ERROR | [ ] Missing parameter type 64 | ERROR | [ ] Missing short description in doc comment 65 | ERROR | [ ] Missing parameter comment 65 | ERROR | [ ] Missing parameter type 74 | ERROR | [ ] Missing short description in doc comment 75 | ERROR | [ ] Missing parameter comment 79 | ERROR | [ ] Type hint "array" missing for $definition 84 | ERROR | [ ] Missing short description in doc comment 85 | ERROR | [ ] Missing parameter comment 94 | ERROR | [ ] Missing short description in doc comment 95 | ERROR | [ ] Missing parameter comment 104 | ERROR | [ ] Missing short description in doc comment 105 | ERROR | [ ] Missing parameter comment 114 | ERROR | [x] Missing function doc comment 123 | ERROR | [x] Expected 1 space after IF keyword; 0 found 123 | ERROR | [ ] key_exists() is a function name alias, use array_key_exists() instead 125 | ERROR | [x] There should be no white space before a closing ")" 135 | ERROR | [x] Case breaking statements must be followed by a single blank line 145 | ERROR | [x] Case breaking statements must be followed by a single blank line 154 | ERROR | [ ] Missing short description in doc comment 155 | ERROR | [ ] Missing parameter comment 155 | ERROR | [ ] Missing parameter type 156 | ERROR | [ ] Missing parameter comment 156 | ERROR | [ ] Missing parameter type 158 | ERROR | [ ] Description for the @return value is missing ------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcFieldType/XtcFieldTypeInterface.php --------------------------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------- 11 | ERROR | [x] Opening brace should be on the same line as the declaration 12 | ERROR | [x] Missing function doc comment 12 | ERROR | [x] Expected 1 blank line before function; 0 found --------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcFieldType/XtcFieldTypePluginBase.php ---------------------------------------------------------------------------------------------------- FOUND 5 ERRORS AND 1 WARNING AFFECTING 4 LINES ---------------------------------------------------------------------------------------------------- 15 | ERROR | Missing parameter comment 16 | ERROR | Missing parameter comment 16 | ERROR | Missing parameter type 17 | ERROR | Missing parameter comment 17 | ERROR | Missing parameter type 19 | WARNING | Possible useless method overriding detected ---------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcRequest/XtcRequestPluginManager.php --------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------- 14 | WARNING | Line exceeds 80 characters; contains 83 characters 33 | WARNING | Line exceeds 80 characters; contains 84 characters --------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcServer/XtcServerPluginManager.php ------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------- 14 | WARNING | Line exceeds 80 characters; contains 81 characters 33 | WARNING | Line exceeds 80 characters; contains 83 characters ------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcHandler/XtcHandlerInterface.php ----------------------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 5 LINES ----------------------------------------------------------------------------------------------- 11 | ERROR | [x] Opening brace should be on the same line as the declaration 21 | ERROR | [x] Missing function doc comment 23 | ERROR | [x] Missing function doc comment 25 | ERROR | [x] Missing function doc comment 27 | ERROR | [x] Missing function doc comment ----------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY ----------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcHandler/XtcHandlerPluginBase.php ------------------------------------------------------------------------------------------------ FOUND 47 ERRORS AND 1 WARNING AFFECTING 43 LINES ------------------------------------------------------------------------------------------------ 8 | WARNING | [x] Unused use statement 16 | ERROR | [ ] Missing short description in doc comment 21 | ERROR | [ ] Missing short description in doc comment 26 | ERROR | [ ] Missing short description in doc comment 31 | ERROR | [ ] Missing short description in doc comment 36 | ERROR | [ ] Missing short description in doc comment 37 | ERROR | [x] Data types in @var tags need to be fully namespaced 41 | ERROR | [ ] Missing short description in doc comment 49 | ERROR | [ ] Missing parameter comment 50 | ERROR | [ ] Missing parameter comment 50 | ERROR | [ ] Missing parameter type 51 | ERROR | [ ] Missing parameter comment 51 | ERROR | [ ] Missing parameter type 59 | ERROR | [ ] Missing short description in doc comment 60 | ERROR | [ ] Description for the @return value is missing 74 | ERROR | [ ] Missing short description in doc comment 75 | ERROR | [ ] Description for the @return value is missing 82 | ERROR | [ ] Missing short description in doc comment 83 | ERROR | [ ] Description for the @return value is missing 89 | ERROR | [ ] Missing short description in doc comment 105 | ERROR | [ ] Missing short description in doc comment 106 | ERROR | [ ] Description for the @return value is missing 117 | ERROR | [x] Missing function doc comment 141 | ERROR | [x] Missing function doc comment 164 | ERROR | [x] Missing function doc comment 167 | ERROR | [x] Missing function doc comment 170 | ERROR | [x] Missing function doc comment 173 | ERROR | [ ] Missing short description in doc comment 174 | ERROR | [ ] Description for the @return value is missing 181 | ERROR | [ ] Missing short description in doc comment 182 | ERROR | [ ] Description for the @return value is missing 188 | ERROR | [ ] Missing short description in doc comment 189 | ERROR | [ ] Missing parameter comment 189 | ERROR | [ ] Missing parameter type 191 | ERROR | [ ] Description for the @return value is missing 198 | ERROR | [ ] Missing short description in doc comment 199 | ERROR | [ ] Missing parameter comment 199 | ERROR | [ ] Missing parameter type 208 | ERROR | [ ] Missing short description in doc comment 209 | ERROR | [ ] Missing parameter comment 211 | ERROR | [ ] Description for the @return value is missing 218 | ERROR | [ ] Missing short description in doc comment 219 | ERROR | [ ] Missing parameter comment 219 | ERROR | [ ] Missing parameter type 220 | ERROR | [ ] Missing parameter comment 222 | ERROR | [ ] Description for the @return value is missing 230 | ERROR | [ ] Missing short description in doc comment 231 | ERROR | [ ] Description for the @return value is missing ------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------ FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcTrigger/XtcTriggerDefault.php --------------------------------------------------------------------------------------------- FOUND 49 ERRORS AND 1 WARNING AFFECTING 38 LINES --------------------------------------------------------------------------------------------- 5 | WARNING | [x] Unused use statement 17 | ERROR | [ ] Missing short description in doc comment 18 | ERROR | [x] Data types in @var tags need to be fully namespaced 20 | ERROR | [x] The var keyword must not be used to declare a property 20 | ERROR | [ ] Visibility must be declared on property "$entity" 22 | ERROR | [ ] Missing short description in doc comment 23 | ERROR | [x] Data types in @var tags need to be fully namespaced 25 | ERROR | [x] The var keyword must not be used to declare a property 25 | ERROR | [ ] Visibility must be declared on property "$currentEntity" 27 | ERROR | [ ] Missing short description in doc comment 30 | ERROR | [x] The var keyword must not be used to declare a property 30 | ERROR | [ ] Visibility must be declared on property "$handler" 32 | ERROR | [x] The var keyword must not be used to declare a property 32 | ERROR | [ ] Visibility must be declared on property "$profile" 32 | ERROR | [ ] Missing member variable doc comment 34 | ERROR | [x] The var keyword must not be used to declare a property 34 | ERROR | [ ] Visibility must be declared on property "$settings" 34 | ERROR | [ ] Missing member variable doc comment 44 | ERROR | [ ] Missing short description in doc comment 45 | ERROR | [ ] Missing parameter comment 45 | ERROR | [ ] Missing parameter type 46 | ERROR | [ ] Missing parameter comment 46 | ERROR | [ ] Missing parameter type 48 | ERROR | [ ] Description for the @return value is missing 55 | ERROR | [ ] Missing short description in doc comment 56 | ERROR | [ ] Description for the @return value is missing 64 | ERROR | [x] Expected 1 space after IF keyword; 0 found 70 | ERROR | [x] Missing function doc comment 75 | ERROR | [x] Expected 1 space after IF keyword; 0 found 91 | ERROR | [x] Expected 1 space after IF keyword; 0 found 91 | ERROR | [x] Expected 1 space after closing parenthesis; found 0 97 | ERROR | [x] Missing function doc comment 98 | ERROR | [x] Expected 1 space after IF keyword; 0 found 101 | ERROR | [x] Expected 1 space after IF keyword; 0 found 107 | ERROR | [x] Missing function doc comment 114 | ERROR | [x] Missing function doc comment 121 | ERROR | [ ] Missing short description in doc comment 122 | ERROR | [ ] Description for the @return value is missing 128 | ERROR | [x] Expected 1 space after IF keyword; 0 found 146 | ERROR | [x] Missing function doc comment 148 | ERROR | [x] Expected 1 space after IF keyword; 0 found 159 | ERROR | [x] Case breaking statements must be followed by a single blank line 179 | ERROR | [x] Case breaking statements must be followed by a single blank line 193 | ERROR | [x] Case breaking statements must be followed by a single blank line 202 | ERROR | [ ] Missing short description in doc comment 203 | ERROR | [ ] Missing parameter comment 203 | ERROR | [ ] Missing parameter type 204 | ERROR | [ ] Missing parameter comment 204 | ERROR | [ ] Missing parameter type 206 | ERROR | [ ] Description for the @return value is missing --------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------- FILE: /var/www/html/web/modules/custom/xtc/src/PluginManager/XtcTrigger/XtcTriggerPluginManager.php --------------------------------------------------------------------------------------------------- FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES --------------------------------------------------------------------------------------------------- 18 | WARNING | [ ] Line exceeds 80 characters; contains 83 characters 37 | WARNING | [ ] Line exceeds 80 characters; contains 84 characters 101 | ERROR | [x] Expected 1 space after IF keyword; 0 found 102 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead --------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------