Skip to content

Codesniffer

Codesniffer #246

Triggered via schedule December 16, 2024 08:31
Status Failure
Total duration 34s
Artifacts

codesniffer.yml

on: schedule
Codesniffer  /  Codesniffer (8.2)
26s
Codesniffer / Codesniffer (8.2)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Codesniffer / Codesniffer (8.2): src/Core/Annotation/Controller/RequestParameter.php#L34
@var annotation of property \Apitte\Core\Annotation\Controller\RequestParameter::$enum does not specify type hint for its items.
Codesniffer / Codesniffer (8.2): src/Core/Annotation/Controller/RequestParameter.php#L104
Method \Apitte\Core\Annotation\Controller\RequestParameter::getEnum() does not have @return annotation for its traversable return value.
Codesniffer / Codesniffer (8.2): src/Core/Mapping/Validator/SymfonyValidator.php#L24
@var annotation of property \Apitte\Core\Mapping\Validator\SymfonyValidator::$groups does not specify type hint for its items.
Codesniffer / Codesniffer (8.2): src/Core/Mapping/Validator/SymfonyValidator.php#L47
Method \Apitte\Core\Mapping\Validator\SymfonyValidator::setGroups() does not have @param annotation for its traversable parameter $groups.
Codesniffer / Codesniffer (8.2): src/Core/Mapping/Parameter/EnumTypeMapper.php#L12
Strict parameter missing in in_array() call.
Codesniffer / Codesniffer (8.2): src/Core/Schema/EndpointParameter.php#L50
@var annotation of property \Apitte\Core\Schema\EndpointParameter::$enum does not specify type hint for its items.
Codesniffer / Codesniffer (8.2): src/Core/Schema/EndpointParameter.php#L137
Method \Apitte\Core\Schema\EndpointParameter::getEnum() does not have @return annotation for its traversable return value.
Codesniffer / Codesniffer (8.2)
Process completed with exit code 2.
Codesniffer / Codesniffer (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636