Skip to content

remove unused code in tests #82

remove unused code in tests

remove unused code in tests #82

Triggered via push October 18, 2023 14:16
Status Failure
Total duration 31s
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/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/DotNotationTest)#L167
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)#L167
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)#L167
Method Art4\JsonApiClient\Tests\Functional\ParsingTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Functional/SerializerTest)#L167
Method Art4\JsonApiClient\Tests\Functional\SerializerTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Unit/Input/RequestStringInputTest)#L167
Method Art4\JsonApiClient\Tests\Unit\Input\RequestStringInputTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Unit/Input/ResponseStringInputTest)#L167
Method Art4\JsonApiClient\Tests\Unit\Input\ResponseStringInputTest::getJsonString() has no return type specified.
Run PHPStan with PHP 8.2: tests/Fixtures/HelperTrait.php (in context of class Art4/JsonApiClient/Tests/Unit/V1/AttributesTest)#L167
Method Art4\JsonApiClient\Tests\Unit\V1\AttributesTest::getJsonString() has no return type specified.