Skip to content

Phpstan

Phpstan #248

Triggered via schedule January 20, 2025 08:12
Status Failure
Total duration 28s
Artifacts

phpstan.yml

on: schedule
Phpstan  /  Phpstan (8.2)
21s
Phpstan / Phpstan (8.2)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Phpstan / Phpstan (8.2): src/Core/Annotation/Controller/RequestParameter.php#L34
Property Apitte\Core\Annotation\Controller\RequestParameter::$enum type has no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Annotation/Controller/RequestParameter.php#L36
Method Apitte\Core\Annotation\Controller\RequestParameter::__construct() has parameter $enum with no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Annotation/Controller/RequestParameter.php#L104
Method Apitte\Core\Annotation\Controller\RequestParameter::getEnum() return type has no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Mapping/Parameter/EnumTypeMapper.php#L10
Method Apitte\Core\Mapping\Parameter\EnumTypeMapper::normalize() has parameter $enumValues with no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Mapping/Parameter/EnumTypeMapper.php#L12
Call to function in_array() requires parameter #3 to be set.
Phpstan / Phpstan (8.2): src/Core/Mapping/Parameter/EnumTypeMapper.php#L12
Parameter #2 $haystack of function in_array expects array, array|null given.
Phpstan / Phpstan (8.2): src/Core/Mapping/RequestParameterMapping.php#L214
Method Apitte\Core\Mapping\Parameter\ITypeMapper::normalize() invoked with 2 parameters, 1 required.
Phpstan / Phpstan (8.2): src/Core/Mapping/Validator/SymfonyValidator.php#L24
Property Apitte\Core\Mapping\Validator\SymfonyValidator::$groups type has no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Mapping/Validator/SymfonyValidator.php#L47
Method Apitte\Core\Mapping\Validator\SymfonyValidator::setGroups() has parameter $groups with no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Core/Schema/EndpointParameter.php#L50
Property Apitte\Core\Schema\EndpointParameter::$enum type has no value type specified in iterable type array.
Phpstan / Phpstan (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636