PO::set_comment_before_headers
Text to include as a comment before the start of the PO contents
Doesn't need to include # in the beginning of lines, these are added automatically
Signature
public function set_comment_before_headers(
$text )
Parameters
$text
—
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
91 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
91 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
91 | 5 | error | Method name "PO::set_comment_before_headers" is not in camel caps format |
91 | 5 | error | Visibility must be declared on method "set_comment_before_headers" |
91 | 42 | error | Expected 0 spaces between opening bracket and argument "$text"; 1 found |
91 | 48 | error | Expected 0 spaces between argument "$text" and closing bracket; 1 found |
91 | 50 | error | Opening brace should be on a new line |
92 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
92 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
93 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
93 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |