Add a check for the leading and trailing spaces #1157
basic-qa.yml
on: pull_request
Run code sniffs
41s
PHPStan
24s
Matrix: ruleset-tests
Annotations
12 errors and 5 warnings
Ruleset test: PHP latest on PHPCS dev
Process completed with exit code 1.
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L843
No space after opening parenthesis is prohibited
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L843
No space before closing parenthesis is prohibited
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
Expected 1 spaces after opening parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
Expected 1 spaces after opening parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
Expected 1 spaces before closing parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
Expected 1 spaces before closing parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L845
Expected 1 spaces after opening parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L845
Expected 1 spaces after opening parenthesis; 0 found
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L845
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
|
Run code sniffs
Process completed with exit code 2.
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L824
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L843
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L844
print_r() found. Debug code should not normally be used in production.
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L845
print_r() found. Debug code should not normally be used in production.
|
Run code sniffs:
WordPress/Sniffs/WP/I18nSniff.php#L846
print_r() found. Debug code should not normally be used in production.
|