Skip to content

Update PHPStan packages to v2 (major) - autoclosed #74

Update PHPStan packages to v2 (major) - autoclosed

Update PHPStan packages to v2 (major) - autoclosed #74

Triggered via pull request November 11, 2024 09:22
Status Failure
Total duration 36s
Artifacts

test.yml

on: pull_request
PHP coverage
17s
PHP coverage
Quality checks
19s
Quality checks
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Quality checks: src/Mock/ConsecutiveParameters.php#L24
Method DR\PHPUnitExtensions\Mock\ConsecutiveParameters::__construct() has PHPUnit\Framework\Exception in PHPDoc @throws tag but it's not thrown.
Quality checks: src/Symfony/AbstractControllerTestCase.php#L33
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.CouplingBetweenObjects)): Unexpected token ".CouplingBetweenObjects)", expected ')' at offset 76 on line 3
Quality checks: src/Symfony/Helper/ConstraintViolationBuilderAssertion.php#L13
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.TooManyPublicMethods)): Unexpected token ".TooManyPublicMethods)", expected ')' at offset 30 on line 2
Quality checks: src/Symfony/Helper/FormAssertion.php#L27
Method DR\PHPUnitExtensions\Symfony\Helper\FormAssertion::__construct() has parameter $form with generic interface Symfony\Component\Form\FormInterface but does not specify its types: TData
Quality checks: src/Symfony/Helper/FormAssertion.php#L47
Parameter #1 $key of function array_key_exists expects int|string, mixed given.
Quality checks: src/Symfony/Helper/FormAssertion.php#L49
Binary operation "." between 'Missing key in data…' and mixed results in an error.
Quality checks: src/Symfony/Helper/FormAssertion.php#L96
Parameter #2 $errors of class Symfony\Component\Form\FormErrorIterator constructor expects list<Symfony\Component\Form\FormError>, array<Symfony\Component\Form\FormError> given.
Quality checks: src/Symfony/Helper/FormAssertion.php#L101
Method DR\PHPUnitExtensions\Symfony\Helper\FormAssertion::getConfigWillReturn() has parameter $config with generic interface Symfony\Component\Form\FormConfigInterface but does not specify its types: TData
Quality checks: src/Symfony/Helper/FormAssertion.php#L111
Method DR\PHPUnitExtensions\Symfony\Helper\FormAssertion::allWillReturn() has parameter $forms with generic interface Symfony\Component\Form\FormInterface but does not specify its types: TData
Quality checks: tests/Resources/Symfony/Controller/FormErrorController.php#L19
Method DR\PHPUnitExtensions\Tests\Resources\Symfony\Controller\FormErrorController::__invoke() return type with generic interface Symfony\Component\Form\FormConfigInterface does not specify its types: TData