Translations::set_headers
Signature
public function set_headers(array
$headers )
Parameters
$headers
—
array
Violations
Checkstyle
Line |
Column |
Severity |
Message |
67 |
1 |
error
|
Spaces must be used to indent lines; tabs are not allowed |
67 |
5 |
error
|
Line indented incorrectly; expected 8 spaces, found 4 |
67 |
5 |
error
|
Method name "Translations::set_headers" is not in camel caps format |
67 |
5 |
error
|
Visibility must be declared on method "set_headers" |
67 |
36 |
error
|
Opening brace should be on a new line |
68 |
1 |
error
|
Spaces must be used to indent lines; tabs are not allowed |
68 |
9 |
error
|
Line indented incorrectly; expected 12 spaces, found 8 |
68 |
9 |
error
|
Expected 1 space after FOREACH keyword; 0 found |
69 |
1 |
error
|
Spaces must be used to indent lines; tabs are not allowed |
69 |
13 |
error
|
Line indented incorrectly; expected at least 16 spaces, found 12 |
70 |
1 |
error
|
Spaces must be used to indent lines; tabs are not allowed |
70 |
9 |
error
|
Line indented incorrectly; expected 12 spaces, found 8 |
71 |
1 |
error
|
Spaces must be used to indent lines; tabs are not allowed |
71 |
5 |
error
|
Line indented incorrectly; expected 8 spaces, found 4 |