Skip to content

Corona: Fix unexpected token in PHPdoc types #223

Corona: Fix unexpected token in PHPdoc types

Corona: Fix unexpected token in PHPdoc types #223

Triggered via pull request November 11, 2024 14:42
Status Failure
Total duration 1m 43s
Artifacts

php-tests.yml

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

Annotations

6 errors
php-tests / phpstan / PHPStan: src/Lunr/Corona/Request.php#L373
Strict comparison using !== between string and false will always evaluate to true.
php-tests / phpstan / PHPStan: src/Lunr/Corona/Response.php#L163
Call to function is_int() with int will always evaluate to true.
php-tests / phpstan / PHPStan: src/Lunr/Corona/Response.php#L163
Strict comparison using === between true and true will always evaluate to true.
php-tests / phpstan / PHPStan: src/Lunr/Corona/WebRequestParser.php#L173
Call to function is_array() with array<mixed> will always evaluate to true.
php-tests / phpstan / PHPStan: src/Lunr/Corona/WebRequestParser.php#L219
Call to function is_array() with array will always evaluate to true.
php-tests / phpstan / PHPStan
Process completed with exit code 1.