Skip to content

Prezise the type of keys #83

Prezise the type of keys

Prezise the type of keys #83

Triggered via push October 18, 2023 15:10
Status Failure
Total duration 35s
Artifacts

phpstan.yml

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

Annotations

8 errors
Run PHPStan with PHP 8.2: tests/BC/ElementTest.php#L35
Constructor of an anonymous class has an unused parameter $data.
Run PHPStan with PHP 8.2: tests/BC/ElementTest.php#L35
Constructor of an anonymous class has an unused parameter $manager.
Run PHPStan with PHP 8.2: tests/BC/ElementTest.php#L35
Constructor of an anonymous class has an unused parameter $parent.
Run PHPStan with PHP 8.2: tests/Unit/V1/ErrorCollectionTest.php#L50
Parameter #1 $key of method Art4\JsonApiClient\Helper\AbstractElement::has() expects (Art4\JsonApiClient\Helper\AccessKey&iterable<string>)|int|string, stdClass given.
Run PHPStan with PHP 8.2: tests/Unit/V1/ErrorCollectionTest.php#L51
Parameter #1 $key of method Art4\JsonApiClient\Helper\AbstractElement::has() expects (Art4\JsonApiClient\Helper\AccessKey&iterable<string>)|int|string, array given.
Run PHPStan with PHP 8.2: tests/Unit/V1/ResourceCollectionTest.php#L47
Parameter #1 $key of method Art4\JsonApiClient\Helper\AbstractElement::has() expects (Art4\JsonApiClient\Helper\AccessKey&iterable<string>)|int|string, stdClass given.
Run PHPStan with PHP 8.2: tests/Unit/V1/ResourceCollectionTest.php#L48
Parameter #1 $key of method Art4\JsonApiClient\Helper\AbstractElement::has() expects (Art4\JsonApiClient\Helper\AccessKey&iterable<string>)|int|string, array given.
Run PHPStan with PHP 8.2
Process completed with exit code 1.