Problem/Motivation
FILE: /var/www/html/vb/d_cont/xnttstrjp/README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
152 | WARNING | Line exceeds 80 characters; contains 97 characters
----------------------------------------------------------------------
FILE: /var/www/html/vb/d_cont/xnttstrjp/tests/src/Unit/StringJsonPathTest.php
--------------------------------------------------------------------------------
FOUND 42 ERRORS AND 1 WARNING AFFECTING 35 LINES
--------------------------------------------------------------------------------
3 | ERROR | [ ] Namespaced classes, interfaces and traits should not begin
| | with a file doc comment
3 | ERROR | [x] Perl-style comments are not allowed; use "// Comment"
| | instead
29 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
29 | ERROR | [x] There should be no white space before a closing "]"
31 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
31 | ERROR | [x] There should be no white space before a closing "]"
33 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
33 | ERROR | [x] Expected one space after the comma, 0 found
35 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
35 | ERROR | [x] Expected one space after the comma, 0 found
37 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
37 | ERROR | [x] Expected one space after the comma, 0 found
42 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
42 | ERROR | [x] Expected one space after the comma, 0 found
43 | ERROR | [x] Comma not allowed after last value in single-line array
| | declaration
43 | ERROR | [x] Expected one space after the comma, 0 found
48 | ERROR | [ ] The array declaration extends to column 170 (the limit is
| | 80). The array content should be split up over multiple
| | lines
61 | ERROR | [x] Whitespace found at end of line
64 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
65 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
68 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
69 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
72 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
73 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
78 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
79 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
86 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
87 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
90 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
91 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
94 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
95 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
98 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
99 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
136 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
137 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
140 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
141 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
144 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
145 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
148 | ERROR | [x] Space after closing parenthesis of function call
| | prohibited
149 | ERROR | [x] Space found before semicolon; expected ");" but found ")\n
| | ;"
150 | WARNING | [ ] Unused variable $strjpath.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 40 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...l/vb/d_cont/xnttstrjp/src/Exception/StringJsonPathSyntaxErrorException.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
10 | ERROR | [x] Additional blank lines found at end of doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ..._cont/xnttstrjp/src/Plugin/ExternalEntities/FieldMapper/StringJsonPath.php
--------------------------------------------------------------------------------
FOUND 15 ERRORS AND 4 WARNINGS AFFECTING 16 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
6 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
30 | WARNING | [x] '@todo: improve regex to match complex expressions.'
| | should match the format '@todo Fix problem X here.'
32 | ERROR | [x] Whitespace found at end of line
33 | ERROR | [ ] Class property $available_str_func should use lowerCamel
| | naming without underscores
33 | ERROR | [ ] Missing member variable doc comment
99 | WARNING | [x] '@todo: maybe add multibyte string functions as well?'
| | should match the format '@todo Fix problem X here.'
122 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
123 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
124 | ERROR | [x] Array indentation error, expected 6 spaces but found 8
125 | ERROR | [x] Expected 0 spaces between "
| | " and comma; 6 found
135 | ERROR | [ ] Parameter $context is not described in comment
142 | ERROR | [x] Separate the @param and @return sections by a blank line.
212 | ERROR | [x] Whitespace found at end of line
353 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 0
353 | ERROR | [x] Comments may not appear after statements
353 | ERROR | [x] No space found before comment text; expected "// +debug"
| | but found "//+debug"
428 | ERROR | [x] No space found before comment text; expected "// $raw_data
| | = $context['jsonpath_object']->getValue();" but found
| | "//$raw_data = $context['jsonpath_object']->getValue();"
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 132ms; Memory: 12MB
Steps to reproduce
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig xnttstrjp/
Remaining tasks
Patch review