Skip to content

Add parameter types in AccessKey, fix deprecates PHPUnit method #101

Add parameter types in AccessKey, fix deprecates PHPUnit method

Add parameter types in AccessKey, fix deprecates PHPUnit method #101

Triggered via push October 25, 2023 14:40
Status Failure
Total duration 37s
Artifacts

phpstan.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Run PHPStan with PHP 8.2: tests/Unit/Helper/AccessableTraitTest.php#L43
Parameter #1 $key of method Art4\JsonApiClient\Tests\Fixtures\AccessableTraitMock::has() expects Art4\JsonApiClient\Helper\AccessKey|int|string, mixed given.
Run PHPStan with PHP 8.2: tests/Unit/Helper/AccessableTraitTest.php#L70
Parameter #1 $key of method Art4\JsonApiClient\Tests\Fixtures\AccessableTraitMock::get() expects Art4\JsonApiClient\Helper\AccessKey|int|string, mixed given.
Run PHPStan with PHP 8.2
Process completed with exit code 1.