Automatically closed - issue fixed for 2 weeks with no activity.
----------------------------------------------------------------------
FOUND 67 ERRORS AND 1 WARNING AFFECTING 31 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
2 | ERROR | [x] There must be one blank line after the namespace
| | declaration
21 | ERROR | [x] Whitespace found at end of line
29 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
29 | ERROR | [x] Expected 1 space after IF keyword; 0 found
29 | ERROR | [x] Expected 1 space after closing parenthesis;
| | found 0
29 | ERROR | [x] Whitespace found at end of line
30 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
31 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 10
31 | ERROR | [x] Closing brace indented incorrectly; expected 8
| | spaces, found 10
31 | ERROR | [x] Expected newline after closing brace
31 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
32 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
32 | ERROR | [x] Whitespace found at end of line
33 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
33 | ERROR | [x] Closing brace indented incorrectly; expected 10
| | spaces, found 8
34 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
34 | ERROR | [x] Expected 1 space after IF keyword; 0 found
34 | ERROR | [x] Expected 1 space after closing parenthesis;
| | found 0
34 | ERROR | [x] Whitespace found at end of line
35 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
36 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 10
36 | ERROR | [x] Closing brace indented incorrectly; expected 8
| | spaces, found 10
36 | ERROR | [x] Expected newline after closing brace
36 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
37 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
37 | ERROR | [x] Whitespace found at end of line
38 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
38 | ERROR | [x] Closing brace indented incorrectly; expected 10
| | spaces, found 8
39 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
39 | ERROR | [x] Expected 1 space after IF keyword; 0 found
39 | ERROR | [x] Expected 1 space after closing parenthesis;
| | found 0
39 | ERROR | [x] Whitespace found at end of line
40 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
41 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 10
41 | ERROR | [x] Closing brace indented incorrectly; expected 8
| | spaces, found 10
41 | ERROR | [x] Expected newline after closing brace
41 | ERROR | [x] Expected 1 space after ELSE keyword; 0 found
42 | ERROR | [x] Line indented incorrectly; expected 8 spaces,
| | found 10
42 | ERROR | [x] Whitespace found at end of line
43 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
43 | ERROR | [x] Closing brace indented incorrectly; expected 10
| | spaces, found 8
45 | ERROR | [x] Line indented incorrectly; expected 6 spaces,
| | found 8
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
47 | ERROR | [x] Concat operator must be surrounded by a single
| | space
49 | ERROR | [x] Whitespace found at end of line
54 | ERROR | [x] Whitespace found at end of line
54 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
55 | ERROR | [x] Whitespace found at end of line
64 | ERROR | [x] Whitespace found at end of line
64 | ERROR | [x] Functions must not contain multiple empty lines
| | in a row; found 2 empty lines
65 | ERROR | [x] Whitespace found at end of line
69 | ERROR | [x] Use null coalesce operator instead of ternary
| | operator.
70 | ERROR | [x] Use null coalesce operator instead of ternary
| | operator.
83 | ERROR | [x] Short array syntax must be used to define arrays
89 | ERROR | [x] Whitespace found at end of line
106 | WARNING | [ ] Line exceeds 80 characters; contains 94
| | characters
106 | ERROR | [x] No space found before comment text; expected "//
| | dump($form_state->getValue['scrolling_news_ticker_block']['scrolling_direction']);
| | exit;" but found
| | "//dump($form_state->getValue['scrolling_news_ticker_block']['scrolling_direction']);
| | exit;"
106 | ERROR | [x] Inline comments must end in full-stops,
| | exclamation marks, question marks, colons, or
| | closing parentheses
124 | ERROR | [x] Expected 1 newline at end of file; 0 found
124 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 67 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 441ms; Memory: 8MB
phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/scrolling_news_ticker/
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.