https://git.drupal.org/project/doc_to_html.git

Review of the 8.x-1.x branch (commit 66c13f1):

  • README.md or README.txt is missing, see the guidelines for in-project documentation.
  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
  • DrupalPractice has found some issues with your code, but could be false positives.

    FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.module
    -------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------
    139 | WARNING | There must be no blank line following an inline comment
    -------------------------------------------------------------------------

    FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.routing.yml
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    --------------------------------------------------------------------------
    8 | 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.
    19 | 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.
    30 | 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: /root/repos/pareviewsh/pareview_temp/src/Form/ImportToField.php
    --------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    --------------------------------------------------------------------------
    71 | WARNING | \Drupal calls should be avoided in classes, use
    | | dependency injection instead
    113 | WARNING | \Drupal calls should be avoided in classes, use
    | | dependency injection instead
    --------------------------------------------------------------------------

    FILE: [@state]
    --------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------
    1 | ERROR | An error occurred during processing; checking has been
    | | aborted. The error message was: "The reserved indicator "@"
    | | cannot start a plain scalar; you need to quote the scalar at
    | | line 4 (near "arguments: [@state]")." at
    | | /root/repos/coder/vendor/symfony/yaml/Inline.php:321
    --------------------------------------------------------------------------

    FILE: [@state]
    --------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------
    1 | ERROR | An error occurred during processing; checking has been
    | | aborted. The error message was: "The reserved indicator "@"
    | | cannot start a plain scalar; you need to quote the scalar at
    | | line 4 (near "arguments: [@state]")." at
    | | /root/repos/coder/vendor/symfony/yaml/Inline.php:321
    --------------------------------------------------------------------------

    FILE: [@state]
    --------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------
    1 | ERROR | An error occurred during processing; checking has been
    | | aborted. The error message was: "The reserved indicator "@"
    | | cannot start a plain scalar; you need to quote the scalar at
    | | line 4 (near "arguments: [@state]")." at
    | | /root/repos/coder/vendor/symfony/yaml/Inline.php:321
    --------------------------------------------------------------------------

    Time: 66ms; Memory: 6Mb

  • Codespell has found some spelling errors in your code.

    ./src/MarkupService.php:66: proces ==> process
  • No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.services.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
18 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.module
--------------------------------------------------------------------------
FOUND 50 ERRORS AND 4 WARNINGS AFFECTING 35 LINES
--------------------------------------------------------------------------
6 | ERROR | [x] 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 | ERROR | [x] There must be one blank line after the last USE
| | statement; 3 found;
14 | ERROR | [ ] More than 2 empty lines are not allowed
18 | ERROR | [x] Expected 1 blank line before function; 3 found
58 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
64 | WARNING | [ ] Format should be "* Implements hook_foo().", "*
| | Implements hook_foo_BAR_ID_bar() for xyz_bar().",,
| | "* Implements hook_foo_BAR_ID_bar() for
| | xyz-bar.html.twig.", "* Implements
| | hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.", or "*
| | Implements hook_foo_BAR_ID_bar() for block
| | templates."
82 | ERROR | [x] Expected 1 space after "="; 2 found
83 | ERROR | [x] Concat operator must be surrounded by a single space
84 | ERROR | [x] Expected 1 space after "="; 2 found
106 | ERROR | [x] Concat operator must be surrounded by a single space
106 | ERROR | [x] Concat operator must be surrounded by a single space
106 | ERROR | [x] Concat operator must be surrounded by a single space
108 | WARNING | [ ] Translatable strings must not begin or end with
| | white spaces, use placeholders with t() for
| | variables
108 | ERROR | [ ] Concatenating translatable strings is not allowed,
| | use placeholders instead and only one string literal
108 | ERROR | [x] Concat operator must be surrounded by a single space
109 | WARNING | [ ] Do not pass empty strings to t()
112 | ERROR | [x] Short array syntax must be used to define arrays
116 | ERROR | [x] Expected 1 space after IF keyword; 0 found
116 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
118 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
119 | ERROR | [x] Expected 1 space after IF keyword; 0 found
119 | ERROR | [x] Expected one space after the comma, 0 found
119 | ERROR | [x] There should be no white space before a closing ")"
119 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
130 | ERROR | [ ] Missing short description in doc comment
131 | ERROR | [x] Doc comment parameter name "$form." must not end
| | with a dot
132 | ERROR | [x] Doc comment parameter name "$form_state." must not
| | end with a dot
134 | ERROR | [x] Expected 1 space before opening brace; found 0
139 | ERROR | [x] No space found before comment text; expected "//
| | @TODO Show library ins not present." but found
| | "//@TODO Show library ins not present."
142 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
142 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
143 | ERROR | [x] Expected 1 space after IF keyword; 0 found
143 | ERROR | [x] Expected one space after the comma, 0 found
143 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "FALSE" but found "false"
143 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
145 | ERROR | [x] Expected 1 space after IF keyword; 0 found
145 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
147 | ERROR | [x] Expected one space after the comma, 0 found
148 | ERROR | [x] Concat operator must be surrounded by a single space
157 | ERROR | [x] Short array syntax must be used to define arrays
157 | ERROR | [x] There must be no space between the "array" keyword
| | and the opening parenthesis
158 | ERROR | [x] Short array syntax must be used to define arrays
158 | ERROR | [x] There must be no space between the "array" keyword
| | and the opening parenthesis
159 | ERROR | [x] Expected 1 space after "=>"; 0 found
161 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'full_html'
162 | ERROR | [x] Closing parenthesis of array declaration must be on
| | a new line
162 | ERROR | [x] Space found before semicolon; expected ");" but
| | found ") ;"
165 | ERROR | [x] Expected one space after the comma, 0 found
168 | ERROR | [x] Expected 1 space after IF keyword; 0 found
168 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
176 | ERROR | [x] Expected 1 space after IF keyword; 0 found
176 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
179 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 47 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.links.task.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
14 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.routing.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
32 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.install
--------------------------------------------------------------------------
FOUND 12 ERRORS AND 3 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
6 | ERROR | [x] There must be one blank line after the last USE
| | statement; 0 found;
16 | ERROR | [x] Missing function doc comment
16 | ERROR | [x] Expected 1 space before opening brace; found 0
22 | ERROR | [x] Expected 1 space after IF keyword; 0 found
22 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
27 | ERROR | [x] No space found before comment text; expected "// Save
| | Config for libreoffice." but found "//Save Config for
| | libreoffice."
30 | WARNING | [ ] Line exceeds 80 characters; contains 82 characters
42 | ERROR | [x] Short array syntax must be used to define arrays
45 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
52 | ERROR | [x] Expected 1 space after IF keyword; 0 found
52 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
54 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/Form/BasicSettings.php
--------------------------------------------------------------------------
FOUND 12 ERRORS AND 2 WARNINGS AFFECTING 10 LINES
--------------------------------------------------------------------------
24 | ERROR | [x] Missing function doc comment
24 | ERROR | [x] Expected 1 blank line before function; 0 found
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
32 | ERROR | [x] Missing function doc comment
78 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
125 | ERROR | [x] Inline comments must start with a capital letter
126 | ERROR | [x] Short array syntax must be used to define arrays
128 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: )
130 | ERROR | [x] Expected 1 space after IF keyword; 0 found
130 | ERROR | [x] Expected 1 space before "=="; 2 found
130 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
131 | ERROR | [x] Expected 1 space after IF keyword; 0 found
131 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
134 | ERROR | [x] Expected 1 space after IF keyword; 0 found
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: ...root/repos/pareviewsh/pareview_temp/src/Form/LibreOfficeSettings.php
--------------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------
24 | ERROR | [x] Missing function doc comment
24 | ERROR | [x] Expected 1 blank line before function; 0 found
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 8
32 | ERROR | [x] Missing function doc comment
82 | WARNING | [ ] Possible useless method overriding detected
96 | ERROR | [x] Expected 1 blank line after function; 0 found
97 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/Form/ImportToField.php
--------------------------------------------------------------------------
FOUND 38 ERRORS AND 4 WARNINGS AFFECTING 36 LINES
--------------------------------------------------------------------------
10 | WARNING | [x] Unused use statement
25 | ERROR | [x] Missing function doc comment
25 | ERROR | [x] Expected 1 blank line before function; 0 found
30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
33 | ERROR | [ ] Missing short description in doc comment
34 | ERROR | [ ] Missing parameter comment
45 | ERROR | [ ] Missing short description in doc comment
46 | ERROR | [ ] Description for the @return value is missing
54 | ERROR | [ ] Missing short description in doc comment
55 | ERROR | [ ] Description for the @return value is missing
61 | ERROR | [ ] Missing short description in doc comment
62 | ERROR | [ ] Missing parameter comment
63 | ERROR | [ ] Missing parameter comment
65 | ERROR | [ ] Description for the @return value is missing
70 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
71 | ERROR | [x] Expected 1 space after "="; 2 found
73 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
73 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
74 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
75 | ERROR | [x] Short array syntax must be used to define arrays
78 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
81 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
82 | ERROR | [x] Concat operator must be surrounded by a single space
82 | ERROR | [x] Short array syntax must be used to define arrays
84 | WARNING | [ ] Only string literals should be passed to t() where
| | possible
85 | ERROR | [x] Concat operator must be surrounded by a single space
89 | ERROR | [x] Concat operator must be surrounded by a single space
89 | ERROR | [x] Short array syntax must be used to define arrays
93 | ERROR | [x] Concat operator must be surrounded by a single space
99 | ERROR | [ ] Missing short description in doc comment
100 | ERROR | [ ] Missing parameter comment
101 | ERROR | [ ] Missing parameter comment
103 | WARNING | [ ] Possible useless method overriding detected
107 | ERROR | [ ] Missing short description in doc comment
108 | ERROR | [ ] Missing parameter comment
109 | ERROR | [ ] Missing parameter comment
113 | ERROR | [x] Expected 1 space after "="; 2 found
114 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
115 | ERROR | [x] Concat operator must be surrounded by a single space
115 | ERROR | [x] Concat operator must be surrounded by a single space
116 | ERROR | [x] Concat operator must be surrounded by a single space
116 | ERROR | [x] Concat operator must be surrounded by a single space
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 23 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/CmdService.php
--------------------------------------------------------------------------
FOUND 50 ERRORS AND 2 WARNINGS AFFECTING 41 LINES
--------------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
50 | ERROR | [ ] Missing short description in doc comment
51 | ERROR | [ ] Description for the @return value is missing
53 | ERROR | [ ] Private method name "CmdService::GetCommand" is not
| | in lowerCamel format
53 | ERROR | [x] Expected 1 space before opening brace; found 0
58 | ERROR | [ ] Missing short description in doc comment
59 | ERROR | [ ] Description for the @return value is missing
61 | ERROR | [ ] Private method name
| | "CmdService::GetBasePathOfLibrary" is not in
| | lowerCamel format
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
68 | ERROR | [ ] Description for the @return value is missing
70 | ERROR | [ ] Private method name "CmdService::ExecuteCMD" is not
| | in lowerCamel format
70 | ERROR | [x] Expected 1 space before opening brace; found 0
71 | ERROR | [x] Expected one space after the comma, 0 found
75 | ERROR | [ ] Missing short description in doc comment
76 | ERROR | [ ] Missing parameter comment
76 | ERROR | [ ] Missing parameter type
77 | ERROR | [ ] Description for the @return value is missing
79 | ERROR | [ ] Private method name "CmdService::ExecuteSYSTEM" is
| | not in lowerCamel format
79 | ERROR | [x] Expected 1 space before opening brace; found 0
80 | ERROR | [x] Expected one space after the comma, 0 found
84 | ERROR | [ ] Missing short description in doc comment
85 | ERROR | [x] Trailing punctuation for @see references is not
| | allowed.
86 | ERROR | [x] Trailing punctuation for @see references is not
| | allowed.
88 | ERROR | [ ] Public method name
| | "CmdService::GetLibreOfficeVersion" is not in
| | lowerCamel format
88 | ERROR | [x] Expected 1 space before opening brace; found 0
94 | ERROR | [x] Expected 1 space after ".="; 0 found
97 | ERROR | [x] Expected 1 space after ".="; 0 found
100 | ERROR | [x] Expected 1 space after ".="; 0 found
104 | ERROR | [x] Expected 1 space after IF keyword; 0 found
104 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
105 | ERROR | [x] Expected one space after the comma, 0 found
107 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
112 | ERROR | [ ] Missing short description in doc comment
113 | ERROR | [ ] Missing parameter comment
113 | ERROR | [ ] Missing parameter type
114 | ERROR | [ ] Missing parameter comment
114 | ERROR | [ ] Missing parameter type
115 | ERROR | [ ] Missing parameter comment
117 | ERROR | [x] Expected 1 space before opening brace; found 0
119 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
120 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
134 | ERROR | [x] Expected 1 space after ".="; 0 found
137 | ERROR | [x] Expected 1 space after ".="; 0 found
138 | ERROR | [x] Concat operator must be surrounded by a single space
140 | ERROR | [x] Expected 1 space after IF keyword; 0 found
140 | ERROR | [x] There should be no white space before a closing ")"
146 | ERROR | [x] Expected 1 blank line after function; 0 found
147 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 28 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/DefaultService.php
--------------------------------------------------------------------------
FOUND 64 ERRORS AND 7 WARNINGS AFFECTING 45 LINES
--------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
6 | ERROR | [x] There must be one blank line after the last USE
| | statement; 3 found;
9 | ERROR | [ ] More than 2 empty lines are not allowed
20 | ERROR | [x] Expected "Drupal\Core\State\StateInterface" but
| | found "Drupal\Core\State\StateInterface." for @var
| | tag in member variable comment
40 | ERROR | [ ] Missing short description in doc comment
41 | ERROR | [ ] Description for the @return value must be on the
| | next line
43 | ERROR | [ ] Public method name "DefaultService::admittedOS" is
| | not in lowerCamel format
43 | ERROR | [x] Expected 1 space before opening brace; found 0
44 | ERROR | [x] Short array syntax must be used to define arrays
47 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: 'WINNT'
51 | ERROR | [ ] Missing short description in doc comment
52 | ERROR | [ ] Missing parameter comment
52 | ERROR | [ ] Missing parameter type
56 | ERROR | [ ] Public method name "DefaultService::settingsOS" is
| | not in lowerCamel format
56 | ERROR | [x] Expected 1 space before opening brace; found 0
58 | ERROR | [x] Expected 1 space after SWITCH keyword; 0 found
58 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
60 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
60 | ERROR | [x] Case breaking statement indented incorrectly;
| | expected 8 spaces, found 10
60 | ERROR | [x] Language constructs must be followed by a single
| | space; expected 1 space but found 2
60 | ERROR | [x] Short array syntax must be used to define arrays
62 | ERROR | [x] Closing parenthesis of array declaration must be on
| | a new line
63 | WARNING | [ ] Code after RETURN statement cannot be executed
63 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
66 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
66 | ERROR | [x] Case breaking statement indented incorrectly;
| | expected 8 spaces, found 10
66 | ERROR | [x] Short array syntax must be used to define arrays
70 | WARNING | [ ] Code after RETURN statement cannot be executed
70 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
73 | ERROR | [x] Case breaking statements must be followed by a
| | single blank line
73 | ERROR | [x] Case breaking statement indented incorrectly;
| | expected 8 spaces, found 10
73 | ERROR | [x] Short array syntax must be used to define arrays
77 | WARNING | [ ] Code after RETURN statement cannot be executed
77 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
79 | ERROR | [x] Short array syntax must be used to define arrays
86 | ERROR | [ ] Public method name
| | "DefaultService::GetEntityBundleFieldBy" is not in
| | lowerCamel format
86 | ERROR | [x] Missing function doc comment
86 | ERROR | [x] Expected 1 space before opening brace; found 0
87 | ERROR | [x] Short array syntax must be used to define arrays
90 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
91 | ERROR | [x] Expected 1 space after FOREACH keyword; 0 found
91 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
92 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
93 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
95 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
102 | ERROR | [x] Expected 1 space before "="; 0 found
104 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
108 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Concat operator must be surrounded by a single space
108 | ERROR | [x] Short array syntax must be used to define arrays
112 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: $field_name
120 | ERROR | [ ] Missing short description in doc comment
121 | ERROR | [ ] Description for the @return value is missing
123 | ERROR | [x] Expected 1 space before opening brace; found 0
129 | ERROR | [x] Expected 1 space after "="; 0 found
132 | ERROR | [x] Expected 1 space after IF keyword; 0 found
132 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
137 | ERROR | [x] Expected 1 space after IF keyword; 0 found
137 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
144 | ERROR | [x] Inline comments must start with a capital letter
144 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
145 | ERROR | [x] Expected 1 space after IF keyword; 0 found
145 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
146 | ERROR | [x] Short array syntax must be used to define arrays
148 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
149 | ERROR | [x] Short array syntax must be used to define arrays
151 | ERROR | [x] Expected 1 blank line after function; 0 found
152 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 57 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/FileService.php
--------------------------------------------------------------------------
FOUND 53 ERRORS AFFECTING 40 LINES
--------------------------------------------------------------------------
3 | ERROR | [x] There must be one blank line after the namespace
| | declaration
30 | ERROR | [x] Expected 1 blank line before function; 0 found
35 | ERROR | [x] Missing function doc comment
42 | ERROR | [ ] Doc comment is empty
45 | ERROR | [x] Expected 1 space before opening brace; found 0
46 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
50 | ERROR | [x] Expected 1 space after ".="; 2 found
58 | ERROR | [ ] Missing short description in doc comment
59 | ERROR | [ ] Missing parameter comment
59 | ERROR | [ ] Missing parameter type
60 | ERROR | [ ] Description for the @return value is missing
62 | ERROR | [x] Expected 1 space before opening brace; found 0
66 | ERROR | [x] Missing function doc comment
66 | ERROR | [x] Expected 1 space before opening brace; found 0
68 | ERROR | [x] Expected one space after the comma, 0 found
68 | ERROR | [x] Expected one space after the comma, 0 found
72 | ERROR | [x] Doc comment short description must end with a full
| | stop
73 | ERROR | [x] There must be exactly one blank line before the tags
| | in a doc comment
73 | ERROR | [ ] Missing parameter comment
73 | ERROR | [ ] Missing parameter type
75 | ERROR | [ ] Public method name "FileService::getUriHTMLFrom" is
| | not in lowerCamel format
75 | ERROR | [x] Expected 1 space before opening brace; found 0
76 | ERROR | [x] Short array syntax must be used to define arrays
83 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
92 | ERROR | [ ] Missing short description in doc comment
93 | ERROR | [ ] Missing parameter comment
93 | ERROR | [ ] Missing parameter type
94 | ERROR | [ ] Description for the @return value is missing
96 | ERROR | [x] Expected 1 space before opening brace; found 0
98 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
100 | ERROR | [x] Expected one space after the comma, 0 found
100 | ERROR | [x] Concat operator must be surrounded by a single space
100 | ERROR | [x] Expected one space after the comma, 0 found
105 | ERROR | [x] Expected 1 space after IF keyword; 0 found
105 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
111 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
116 | ERROR | [ ] Missing short description in doc comment
117 | ERROR | [ ] Missing parameter comment
117 | ERROR | [ ] Missing parameter type
118 | ERROR | [ ] Description for the @return value is missing
120 | ERROR | [x] Expected 1 space before opening brace; found 0
122 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
123 | ERROR | [x] Expected one space after the comma, 0 found
124 | ERROR | [x] Expected 1 space after IF keyword; 0 found
124 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
125 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
126 | ERROR | [x] Expected one space after the comma, 0 found
130 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing parentheses
133 | ERROR | [x] No space found before comment text; expected "// Check
| | if it is file." but found "//Check if it is file."
134 | ERROR | [x] Expected 1 space after IF keyword; 0 found
134 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
145 | ERROR | [x] Expected 1 blank line after function; 0 found
146 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 37 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/src/MarkupService.php
--------------------------------------------------------------------------
FOUND 50 ERRORS AND 2 WARNINGS AFFECTING 34 LINES
--------------------------------------------------------------------------
6 | WARNING | [x] Unused use statement
6 | ERROR | [x] There must be one blank line after the last USE
| | statement; 2 found;
33 | ERROR | [x] Expected one space after the comma, 0 found
33 | ERROR | [x] Expected 1 space between comma and type hint
| | "FileService"; 0 found
38 | ERROR | [ ] Missing short description in doc comment
39 | ERROR | [ ] Missing parameter comment
39 | ERROR | [ ] Missing parameter type
40 | ERROR | [ ] Missing parameter comment
41 | ERROR | [ ] Description for the @return value is missing
46 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, question marks, or closing
| | parentheses
50 | ERROR | [x] Expected 1 space after IF keyword; 0 found
50 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
62 | ERROR | [x] Expected 1 space after IF keyword; 0 found
62 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
64 | ERROR | [ ] Inline doc block comments are not allowed; use "/*
| | Comment */" or "// Comment" instead
65 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
69 | ERROR | [x] Expected one space after the comma, 0 found
69 | ERROR | [x] Expected one space after the comma, 0 found
75 | ERROR | [x] No space found before comment text; expected "//
| | @TODO manage file not exist." but found "//@TODO
| | manage file not exist."
80 | ERROR | [ ] Missing short description in doc comment
81 | ERROR | [ ] Missing parameter comment
81 | ERROR | [ ] Missing parameter type
83 | ERROR | [ ] Private method name "MarkupService::tryEncodeUTF8"
| | is not in lowerCamel format
83 | ERROR | [x] Expected 1 space before opening brace; found 0
85 | ERROR | [x] Expected 1 space after IF keyword; 0 found
85 | ERROR | [x] There should be no white space before a closing ")"
85 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
86 | ERROR | [x] Expected 1 space before ":"; 0 found
87 | ERROR | [x] Expected 1 space after IF keyword; 0 found
87 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
94 | ERROR | [ ] Missing short description in doc comment
95 | ERROR | [ ] Missing parameter comment
95 | ERROR | [ ] Missing parameter type
97 | ERROR | [ ] Private method name "MarkupService::tryDecodeUTF8"
| | is not in lowerCamel format
97 | ERROR | [x] Expected 1 space before opening brace; found 0
99 | ERROR | [x] Expected 1 space after IF keyword; 0 found
99 | ERROR | [x] There should be no white space before a closing ")"
99 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
100 | ERROR | [x] Expected 1 space before ":"; 0 found
101 | ERROR | [x] Expected 1 space after IF keyword; 0 found
101 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
104 | ERROR | [x] Functions must not contain multiple empty lines in a
| | row; found 2 empty lines
109 | ERROR | [ ] Missing short description in doc comment
110 | ERROR | [ ] Missing parameter comment
110 | ERROR | [ ] Missing parameter type
112 | ERROR | [x] Expected 1 space before opening brace; found 0
114 | ERROR | [x] Expected 1 space after IF keyword; 0 found
117 | ERROR | [x] Expected 1 space after IF keyword; 0 found
117 | ERROR | [x] Expected 1 space after closing parenthesis; found 0
118 | ERROR | [x] Space found before comma in function call
122 | ERROR | [x] Expected 1 blank line after function; 0 found
123 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 34 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------

FILE: /root/repos/pareviewsh/pareview_temp/doc_to_html.links.menu.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
6 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Time: 238ms; Memory: 8Mb