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