feat: Add unit tests for Admin/Settings class #1505
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
11 errors and 10 warnings
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L25
Only one object structure is allowed in a file
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L24
Expected 1 spaces before closing parenthesis; 0 found
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L20
Object property "$returnValue" is not in valid snake_case format, try "$return_value"
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L19
Missing doc comment for function get_scannable_post_types()
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L18
Expected 1 space before the array closer in a single line array. Found: no spaces
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L18
Expected 1 space after the array opener in a single line array. Found: no spaces
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L18
Missing member variable doc comment
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L18
Member variable "$returnValue" is not in valid snake_case format, try "$return_value"
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L17
Missing doc comment for class MockEDACPSettings
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L1
Missing file doc comment
|
|
Check code style
Process completed with exit code 2.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L187
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L87
Unused function parameter $operator.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L87
Unused function parameter $output.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L87
Unused function parameter $args.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L67
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L56
Found precision alignment of 1 spaces.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L55
Found precision alignment of 1 spaces.
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L54
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L47
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|
|
Check code style:
tests/phpunit/Admin/SettingsTest.php#L39
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
|