FILE: /var/www/html/drupal-contribution/web/modules/contrib/content_type_dependency/src/Controller/ContentTypeDependencyController.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 136 ERRORS AND 6 WARNINGS AFFECTING 107 LINES
---------------------------------------------------------------------------------------------------------------------------------------
2 | ERROR | [ ] Missing file doc comment
12 | ERROR | [ ] Missing @category tag in class comment
12 | ERROR | [ ] Missing @package tag in class comment
12 | ERROR | [ ] Missing @author tag in class comment
12 | ERROR | [ ] Missing @license tag in class comment
12 | ERROR | [ ] Missing @link tag in class comment
13 | ERROR | [x] Opening brace of a class must be on the line after the definition
15 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
15 | ERROR | [ ] Missing doc comment for function content_type_dependency_list()
15 | ERROR | [ ] Public method name "ContentTypeDependencyController::content_type_dependency_list" is not in camel caps format
15 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
15 | ERROR | [x] Opening brace should be on a new line
16 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
18 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
19 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
20 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
21 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
22 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
23 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
24 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
25 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
26 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
28 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
29 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
29 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
30 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
30 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
31 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
32 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
33 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
34 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
35 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
35 | WARNING | [ ] Line exceeds 85 characters; contains 135 characters
36 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
36 | WARNING | [ ] Line exceeds 85 characters; contains 112 characters
37 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
37 | WARNING | [ ] Line exceeds 85 characters; contains 116 characters
38 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
39 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
40 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
41 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
42 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
43 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
44 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
45 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
46 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
47 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
49 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
50 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
51 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
51 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
51 | ERROR | [x] Opening statement of multi-line function call not indented correctly; expected 4 spaces but found 6
51 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
52 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
53 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
54 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
55 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
56 | ERROR | [x] Multi-line function call not indented correctly; expected 10 spaces but found 8
57 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
57 | ERROR | [x] Closing parenthesis of a multi-line function call must be on a line by itself
58 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
58 | ERROR | [x] Object operator not indented correctly; expected 8 spaces but found 6
59 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
60 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
61 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
62 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
63 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
63 | WARNING | [ ] Line exceeds 85 characters; contains 136 characters
64 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
64 | WARNING | [ ] Line exceeds 85 characters; contains 113 characters
65 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
65 | WARNING | [ ] Line exceeds 85 characters; contains 117 characters
66 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
67 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
68 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
69 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
70 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
71 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
72 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
73 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
74 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
75 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
77 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
78 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
79 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
80 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
81 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
82 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
82 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
83 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
84 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
85 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
86 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
87 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
88 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
89 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
90 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
91 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
91 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
92 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
93 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 6
94 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
95 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
96 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
98 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
98 | ERROR | [ ] Missing doc comment for function content_type_dependency_enable()
98 | ERROR | [ ] Public method name "ContentTypeDependencyController::content_type_dependency_enable" is not in camel caps format
98 | ERROR | [x] Opening brace should be on a new line
99 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
100 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
101 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
102 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
103 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
103 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
104 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
104 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
105 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
105 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
106 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
107 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
108 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
109 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
110 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
112 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
112 | ERROR | [ ] Missing doc comment for function content_type_dependency_disable()
112 | ERROR | [ ] Public method name "ContentTypeDependencyController::content_type_dependency_disable" is not in camel caps format
112 | ERROR | [x] Opening brace should be on a new line
113 | ERROR | [x] Line indented incorrectly; expected at least 8 spaces, found 4
114 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
115 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
116 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
117 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
117 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
118 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
118 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
119 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 8
119 | ERROR | [x] Object operator not indented correctly; expected 10 spaces but found 8
120 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
121 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
122 | ERROR | [x] Line indented incorrectly; expected at least 12 spaces, found 6
123 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 4
124 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 2
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3223188-3.patch | 36.16 KB | lokesh jamadar |
Comments
Comment #2
lokesh jamadar commentedComment #3
lokesh jamadar commentedI have Created a patch file to fix above mentioned issues with Drupal Standard. Please review.
Comment #4
lokesh jamadar commentedComment #5
dhirendra.mishra commentedPatch applies cleanly and Looks good to me.,Hence moving to RTBC