Skip to content

feat: Add unit tests for Admin/Settings class #1506

feat: Add unit tests for Admin/Settings class

feat: Add unit tests for Admin/Settings class #1506

Triggered via pull request June 30, 2025 15:11
Status Failure
Total duration 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cs.yml

on: pull_request
Check code style
38s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Check code style: tests/phpunit/Admin/SettingsTest.php#L32
Expected 1 spaces before closing parenthesis; 0 found
Check code style: tests/phpunit/Admin/SettingsTest.php#L32
Expected 1 spaces after opening parenthesis; 0 found
Check code style: tests/phpunit/Admin/SettingsTest.php#L31
Inline comments must end in full-stops, exclamation marks, or question marks
Check code style: tests/phpunit/Admin/SettingsTest.php#L26
Missing doc comment for function setUp()
Check code style: tests/phpunit/Admin/SettingsTest.php#L24
You must use "/**" style comments for a member variable comment
Check code style: tests/phpunit/Admin/SettingsTest.php#L23
Inline comments must end in full-stops, exclamation marks, or question marks
Check code style: tests/phpunit/Admin/SettingsTest.php#L21
Missing member variable doc comment
Check code style: tests/phpunit/Admin/SettingsTest.php#L20
You must use "/**" style comments for a member variable comment
Check code style: tests/phpunit/Admin/SettingsTest.php#L16
You must use "/**" style comments for a class comment
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#L177
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Check code style: tests/phpunit/Admin/SettingsTest.php#L69
Unused function parameter $operator.
Check code style: tests/phpunit/Admin/SettingsTest.php#L69
Unused function parameter $output.
Check code style: tests/phpunit/Admin/SettingsTest.php#L69
Unused function parameter $args.
Check code style: tests/phpunit/Admin/SettingsTest.php#L49
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Check code style: tests/phpunit/Admin/SettingsTest.php#L38
Found precision alignment of 1 spaces.
Check code style: tests/phpunit/Admin/SettingsTest.php#L37
Found precision alignment of 1 spaces.
Check code style: tests/phpunit/Admin/SettingsTest.php#L36
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
Check code style: tests/phpunit/Admin/SettingsTest.php#L29
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Check code style: tests/phpunit/Admin/SettingsTest.php#L21
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space