Skip to content

Corona: JSON validation #234

Corona: JSON validation

Corona: JSON validation #234

Triggered via pull request December 11, 2024 13:29
Status Failure
Total duration 1m 1s
Artifacts

php-tests.yml

on: pull_request
php-tests  /  ...  /  Generate matrix for phpunit
0s
php-tests / phpunit / Generate matrix for phpunit
php-tests  /  ...  /  PHPCS
20s
php-tests / phpcs / PHPCS
php-tests  /  ...  /  PHPStan
37s
php-tests / phpstan / PHPStan
Matrix: php-tests / phpunit / phpunit
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 5 warnings
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L62
Expected 1 space(s) after IF keyword; 0 found
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L62
Expected newline after closing parenthesis; found 1 space(s)
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L62
The opening brace of a multi-line IF statement must be on a new line
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L121
Expected 1 space(s) after IF keyword; 0 found
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L121
Expected newline after closing parenthesis; found 1 space(s)
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L121
The opening brace of a multi-line IF statement must be on a new line
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L124
Functions must not contain multiple empty lines in a row; found 2 empty lines
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L205
Expected 1 blank line after function; 2 found
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L211
Parameter comment must start with a capital letter
php-tests / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L219
Expected 1 space(s) after IF keyword; 0 found
php-tests / phpcs / PHPCS
Process completed with exit code 2.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L13
Referencing prefixed PHPStan class: _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L30
Property Lunr\Corona\JsonView::$jsonretriever has unknown class JsonSchema\Uri\UriRetriever as its type.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L36
Property Lunr\Corona\JsonView::$jsonresolver has unknown class JsonSchema\RefResolver as its type.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L42
Property Lunr\Corona\JsonView::$jsonvalidator has unknown class JsonSchema\Validator as its type.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L58
Parameter $locator of method Lunr\Corona\JsonView::__construct() has invalid type _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L58
Referencing prefixed PHPStan class: _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L63
Call to method get() on an unknown class _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L64
Call to method get() on an unknown class _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L65
Call to method get() on an unknown class _PHPStan_c875e8309\Psr\Container\ContainerInterface.
php-tests / phpstan / PHPStan: src/Lunr/Corona/JsonView.php#L230
Call to method retrieve() on an unknown class JsonSchema\Uri\UriRetriever.
php-tests / phpunit / PHP-8.1: PHPUnit
Process completed with exit code 2.
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 / phpcs / PHPCS: src/Lunr/Corona/JsonView.php#L64
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
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