Corona: JSON validation #235
php-tests.yml
on: pull_request
php-tests
/
...
/
Generate matrix for phpunit
0s
php-tests
/
...
/
PHPCS
18s
php-tests
/
...
/
PHPStan
38s
Matrix: php-tests / phpunit / phpunit
Annotations
21 errors and 4 warnings
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L36
Doc comment for parameter "$validator" missing
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L42
Doc comment for parameter $locator does not match actual variable name $validator
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L48
Expected 1 space(s) after IF keyword; 0 found
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L48
Expected newline after closing parenthesis; found 1 space(s)
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L48
The opening brace of a multi-line IF statement must be on a new line
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L105
Expected 1 space(s) after IF keyword; 0 found
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L105
Expected newline after closing parenthesis; found 1 space(s)
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L105
The opening brace of a multi-line IF statement must be on a new line
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L108
Functions must not contain multiple empty lines in a row; found 2 empty lines
|
php-tests / phpcs / PHPCS:
src/Lunr/Corona/JsonView.php#L189
Expected 1 blank line after function; 2 found
|
php-tests / phpcs / PHPCS
Process completed with exit code 2.
|
php-tests / phpstan / PHPStan:
src/Lunr/Corona/CompactJsonView.php#L48
Return type mixed of method Lunr\Corona\CompactJsonView::prepare_data() is not covariant with return type mixed of method Lunr\Corona\JsonView::prepare_data().
|
php-tests / phpstan / PHPStan:
src/Lunr/Corona/JsonView.php#L28
Class Lunr\Corona\JsonView has an uninitialized readonly property $json_validator. Assign it in the constructor.
|
php-tests / phpstan / PHPStan:
src/Lunr/Corona/JsonView.php#L44
PHPDoc tag @param references unknown parameter: $locator
|
php-tests / phpstan / PHPStan
Process completed with exit code 1.
|
php-tests / phpunit / PHP-8.1: PHPUnit:
src/Lunr/Corona/CompactJsonView.php#L48
Declaration of Lunr\Corona\CompactJsonView::prepare_data($data) must be compatible with Lunr\Corona\JsonView::prepare_data($data): mixed
|
php-tests / phpunit / PHP-8.1: PHPUnit
Process completed with exit code 255.
|
php-tests / phpunit / PHP-8.2: PHPUnit
The job was canceled because "_8_1_false" failed.
|
php-tests / phpunit / PHP-8.2: PHPUnit
The operation was canceled.
|
php-tests / phpunit / PHP-8.3: PHPUnit
The job was canceled because "_8_1_false" failed.
|
php-tests / phpunit / PHP-8.3: PHPUnit
The operation was canceled.
|
php-tests / phpunit / Generate matrix for phpunit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
php-tests / phpcs / PHPCS
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
php-tests / phpstan / PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
php-tests / phpunit / PHP-8.1: PHPUnit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|