Closed (fixed)
Project:
Mirador
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
30 Jun 2016 at 06:39 UTC
Updated:
15 Jul 2016 at 05:07 UTC
Jump to comment: Most recent, Most recent file
Great module!
The module has many coding standard violations.
Check the report by running,
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt,md .
$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt,md .
FILE: ..._contribution/git_drupal_8.x/modules/contrib/mirador/mirador.inc
----------------------------------------------------------------------
FOUND 53 ERRORS AFFECTING 52 LINES
----------------------------------------------------------------------
26 | ERROR | [x] Whitespace found at end of line
27 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
28 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
28 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "NULL" but found "null"
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
34 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
37 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
38 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
39 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
41 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
42 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
44 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
45 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
46 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
47 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
49 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
50 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
51 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
52 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
54 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
55 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
56 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
57 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
59 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
60 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
61 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
62 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
65 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
66 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
67 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
71 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
72 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
77 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
79 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
80 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
81 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 12
85 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
92 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
93 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
96 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
101 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
102 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
103 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
104 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
105 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
106 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
107 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
108 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 12
112 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
----------------------------------------------------------------------
PHPCBF CAN FIX THE 53 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ....o_contribution/git_drupal_8.x/modules/contrib/mirador/README.md
----------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
10 | WARNING | [ ] Line exceeds 80 characters; contains 521
| | characters
32 | WARNING | [ ] Line exceeds 80 characters; contains 216
| | characters
33 | WARNING | [ ] Line exceeds 80 characters; contains 151
| | characters
39 | ERROR | [x] Expected 1 newline at end of file; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...n/git_drupal_8.x/modules/contrib/mirador/src/ActivationCheck.php
----------------------------------------------------------------------
FOUND 27 ERRORS AFFECTING 26 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
17 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
22 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
23 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
26 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
27 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
28 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
29 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
30 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
31 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
33 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
34 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
35 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
36 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
36 | ERROR | [x] Whitespace found at end of line
37 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
38 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
43 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
44 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
45 | ERROR | [x] Whitespace found at end of line
46 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
47 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 27 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...pal_8.x/modules/contrib/mirador/src/ActivationCheckInterface.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
14 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
17 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
18 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
19 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ntribution/git_drupal_8.x/modules/contrib/mirador/src/Canvas.php
----------------------------------------------------------------------
FOUND 36 ERRORS AFFECTING 35 LINES
----------------------------------------------------------------------
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
13 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
19 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
21 | ERROR | [x] Whitespace found at end of line
22 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
23 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
28 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
29 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
30 | ERROR | [x] Whitespace found at end of line
31 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
32 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
33 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
34 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
35 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
36 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
37 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
41 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
42 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
43 | ERROR | [x] Whitespace found at end of line
44 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
45 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
46 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
47 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
48 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
49 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
50 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
51 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
52 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
53 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
59 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 36 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...les/contrib/mirador/src/Controller/MiradorManifestController.php
----------------------------------------------------------------------
FOUND 60 ERRORS AND 1 WARNING AFFECTING 58 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
19 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
22 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
23 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
24 | ERROR | [x] Whitespace found at end of line
25 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
26 | WARNING | [ ] Line exceeds 80 characters; contains 83
| | characters
26 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
27 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
28 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
28 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "NULL" but found "null"
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
31 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
32 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
33 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
34 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
35 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
36 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
38 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
39 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
41 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
42 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
44 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
45 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
47 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
48 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
50 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
51 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
52 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
54 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
55 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
56 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
57 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
59 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
60 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
61 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 12
62 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 12
63 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 12
67 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
68 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
69 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
73 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
74 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
78 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
79 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
83 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
84 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
85 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
89 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
90 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
91 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
95 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
96 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
97 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
101 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
102 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
103 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
104 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
----------------------------------------------------------------------
PHPCBF CAN FIX THE 60 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...l_8.x/modules/contrib/mirador/src/ElementAttachmentInterface.php
----------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
----------------------------------------------------------------------
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
13 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
16 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
17 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
18 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
19 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
24 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
25 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
26 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
27 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
28 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
29 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...pal_8.x/modules/contrib/mirador/src/Form/MiradorSettingsForm.php
----------------------------------------------------------------------
FOUND 36 ERRORS AFFECTING 34 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
19 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
21 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
22 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
23 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
24 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
24 | ERROR | [x] Whitespace found at end of line
25 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
30 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
31 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
32 | ERROR | [x] Whitespace found at end of line
33 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
34 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
38 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
39 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
40 | ERROR | [x] Whitespace found at end of line
41 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
42 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
43 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
44 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
45 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
46 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
47 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
47 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "TRUE" but found "true"
48 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
54 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
55 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
56 | ERROR | [x] Whitespace found at end of line
57 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
58 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
62 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
66 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
67 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
68 | ERROR | [x] Whitespace found at end of line
69 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
----------------------------------------------------------------------
PHPCBF CAN FIX THE 36 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...git_drupal_8.x/modules/contrib/mirador/src/MiradorAttachment.php
----------------------------------------------------------------------
FOUND 40 ERRORS AFFECTING 39 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
17 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
18 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
19 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
22 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
23 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
25 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
26 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
27 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
28 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
29 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
30 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
32 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
33 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
34 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
35 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
36 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
37 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
39 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
40 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
41 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
42 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
42 | ERROR | [x] Whitespace found at end of line
43 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
44 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
45 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
46 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
50 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
51 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
52 | ERROR | [x] Whitespace found at end of line
53 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
54 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
58 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
59 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
60 | ERROR | [x] Whitespace found at end of line
61 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
62 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
63 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 40 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...rib/mirador/src/Plugin/Field/FieldFormatter/MiradorFormatter.php
----------------------------------------------------------------------
FOUND 118 ERRORS AND 2 WARNINGS AFFECTING 108 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
18 | ERROR | [x] There must be one blank line after the last USE
| | statement; 2 found;
34 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
35 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
36 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
37 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
38 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
39 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
40 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
42 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
43 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
44 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
45 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
45 | ERROR | [x] Expected 1 spaces after parameter type; 38 found
46 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
47 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
47 | ERROR | [x] Expected 1 spaces after parameter type; 39 found
48 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
49 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
50 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
51 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
51 | ERROR | [x] Expected 1 spaces after parameter type; 39 found
52 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
53 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
53 | ERROR | [x] Expected 1 spaces after parameter type; 38 found
54 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
55 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
55 | ERROR | [x] Expected 1 spaces after parameter type; 38 found
56 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
57 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
57 | ERROR | [x] Expected 1 spaces after parameter type; 39 found
58 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
59 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
59 | ERROR | [x] Expected 1 spaces after parameter type; 2 found
60 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
61 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
62 | ERROR | [x] Line indented incorrectly; expected 2 spaces,
| | found 4
62 | ERROR | [x] Whitespace found at end of line
63 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
64 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
65 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
66 | ERROR | [x] Line indented incorrectly; expected 4 spaces,
| | found 8
70 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
71 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
72 | ERROR | [x] Whitespace found at end of line
73 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
74 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
88 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
89 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
90 | ERROR | [x] Whitespace found at end of line
91 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
92 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
93 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
94 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
99 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
100 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
101 | ERROR | [x] Whitespace found at end of line
102 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
103 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
103 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "FALSE" but found "false"
104 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
105 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
107 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
108 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
109 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
110 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
111 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
112 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
113 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
116 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
117 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
118 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
119 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
128 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
134 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
135 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
136 | ERROR | [x] Whitespace found at end of line
137 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
138 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
139 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
139 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "FALSE" but found "false"
140 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
141 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
142 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
143 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
144 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
145 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 12
148 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
151 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
154 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
161 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
162 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
163 | ERROR | [x] Whitespace found at end of line
164 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
165 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
166 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
167 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
168 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
169 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
170 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 12
176 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
177 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
181 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
182 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
183 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
185 | WARNING | [ ] Line exceeds 80 characters; contains 83
| | characters
185 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
186 | WARNING | [ ] Line exceeds 80 characters; contains 81
| | characters
186 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
187 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
188 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
189 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
191 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
192 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
193 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
194 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
195 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
196 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
197 | ERROR | [x] Array indentation error, expected 14 spaces but
| | found 12
205 | ERROR | [x] Line indented incorrectly; expected 10 spaces,
| | found 12
----------------------------------------------------------------------
PHPCBF CAN FIX THE 118 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ..._drupal_8.x/modules/contrib/mirador/src/SharedCanvasManifest.php
----------------------------------------------------------------------
FOUND 42 ERRORS AFFECTING 39 LINES
----------------------------------------------------------------------
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
13 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
14 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
15 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
16 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
17 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
19 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
20 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
21 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
22 | ERROR | [x] Line indented incorrectly; expected 2 spaces, found
| | 4
22 | ERROR | [x] Whitespace found at end of line
23 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
24 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
25 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
26 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
27 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
28 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
29 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
30 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found
| | 8
34 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
35 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
36 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "NULL" but found "null"
36 | ERROR | [x] Whitespace found at end of line
37 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
38 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
38 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "NULL" but found "null"
39 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found
| | 12
44 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
45 | ERROR | [x] Expected 5 space(s) before asterisk; 3 found
46 | ERROR | [x] Whitespace found at end of line
47 | ERROR | [x] Opening brace should be on the same line as the
| | declaration
48 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found
| | 8
49 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
50 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
51 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
52 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
53 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
54 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
55 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
56 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
57 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
58 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 42 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 2.06 secs; Memory: 10.25MbSome can be fixed automatically, many will need manual correction.
Will provide a patch for the same.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix_coding_standard-2758265-2.patch | 16.78 KB | swarad07 |
Comments
Comment #2
swarad07Adding customer name in the Attribution section of the comment.
Comment #3
rajeshwari10 commentedComment #5
safallia joseph commentedComment #6
vimaljoseph commented