Skip to content

Update PHPStan packages to v2 (major) #4017

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #4017

Triggered via pull request November 11, 2024 19:11
Status Failure
Total duration 1m 9s
Artifacts

check.yml

on: pull_request
php
59s
php
typescript and scss
23s
typescript and scss
Fit to window
Zoom out
Zoom in

Annotations

10 errors
php: src/ApiPlatform/OpenApi/OpenApiFactory.php#L54
Trying to invoke mixed but it's not a callable.
php: src/ApiPlatform/OpenApi/OpenApiParameterIterator.php#L32
Parameter #1 $string of function strtolower expects string, mixed given.
php: src/ApiPlatform/OpenApi/OpenApiParameterIterator.php#L41
Cannot call method getDescription() on mixed.
php: src/ApiPlatform/OpenApi/OpenApiParameterIterator.php#L45
Generator expects value type array{ApiPlatform\OpenApi\Model\Operation, ApiPlatform\OpenApi\Model\Parameter}, array{ApiPlatform\OpenApi\Model\Operation, mixed} given.
php: src/ApiPlatform/Output/CodeReviewOutput.php#L10
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExcessiveParameterList)): Unexpected token ".ExcessiveParameterList)", expected ')' at offset 61 on line 3
php: src/ApiPlatform/StateProcessor/CodeReviewProcessor.php#L29
Parameter $context of method DR\Review\ApiPlatform\StateProcessor\CodeReviewProcessor::process() has invalid type Illuminate\Http\Request.
php: src/Command/ExternalLink/RemoveExternalLinkCommand.php#L31
Binary operation "." between '<error>No external…' and mixed results in an error.
php: src/Controller/Auth/SingleSignOn/AzureAdAuthController.php#L32
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
php: src/Doctrine/Type/AbstractEnumType.php#L21
Parameter #1 $callback of function array_map expects (callable(mixed): mixed)|null, Closure(string): non-falsy-string given.
php: src/Doctrine/Type/AbstractEnumType.php#L22
Parameter #2 $array of function array_map expects array, mixed given.