Skip to content

Check tests with PHPStan #81

Check tests with PHPStan

Check tests with PHPStan #81

Triggered via push October 17, 2023 13:39
Status Failure
Total duration 36s
Artifacts

phpstan.yml

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

Annotations

10 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/Fixtures/Factory.php#L15
Property Art4\JsonApiClient\Tests\Fixtures\Factory::$testcase has no type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/Factory.php#L25
Method Art4\JsonApiClient\Tests\Fixtures\Factory::make() has parameter $args with no value type specified in iterable type array.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/DotNotationTest)#L145
Method Art4\JsonApiClient\Tests\Functional\DotNotationTest::buildManagerMock() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/DotNotationTest)#L192
Method Art4\JsonApiClient\Tests\Functional\DotNotationTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/ErrorParsingTest)#L145
Method Art4\JsonApiClient\Tests\Functional\ErrorParsingTest::buildManagerMock() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/ErrorParsingTest)#L192
Method Art4\JsonApiClient\Tests\Functional\ErrorParsingTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/ParsingTest)#L145
Method Art4\JsonApiClient\Tests\Functional\ParsingTest::buildManagerMock() has no return type specified.