hw4 Validator + balancer #2549
Annotations
10 errors and 2 warnings
phpcs:
hw4/code/phpcs-test/sample.php#L3
Each class must be in a namespace of at least one level (a top-level vendor name)
|
phpcs:
hw4/code/phpcs-test/sample.php#L3
Opening brace of a class must be on the line after the definition
|
phpcs:
hw4/code/phpcs-test/sample.php#L6
Method name "Person::set_name" is not in camel caps format
|
phpcs:
hw4/code/phpcs-test/sample.php#L6
Expected 0 spaces after opening parenthesis; 1 found
|
phpcs:
hw4/code/phpcs-test/sample.php#L6
Expected 0 spaces before closing parenthesis; 1 found
|
phpcs:
hw4/code/phpcs-test/sample.php#L8
Expected at least 1 space before "="; 0 found
|
phpcs:
hw4/code/phpcs-test/sample.php#L8
Expected at least 1 space after "="; 0 found
|
phpcs:
hw4/code/phpcs-test/sample.php#L11
Opening brace should be on a new line
|
phpcs:
hw4/code/phpcs-test/sample.php#L14
Expected 1 newline at end of file; 0 found
|
phpcs:
hw4/code/phpcs-test/sample.php#L14
Whitespace found at end of line
|
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
phpcs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|