Skip to content

added shorthands for attributes with a given type #980

added shorthands for attributes with a given type

added shorthands for attributes with a given type #980

Triggered via push February 17, 2025 14:56
Status Failure
Total duration 2m 5s
Artifacts

ci.yml

on: push
Matrix: phpstan-tests
Matrix: phpstan
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors
phpstan (8.3): app/V1Module/presenters/base/BasePresenter.php#L350
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.3): app/helpers/MetaFormats/AnnotationConversion/NetteAnnotationConverter.php#L160
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.3): app/helpers/MetaFormats/AnnotationConversion/StandardAnnotationConverter.php#L85
PHPDoc tag @return has invalid value (array<array{annotations: array, originalAnnotationEndLine: float|int>} a list of dictionaries containing the new annotation lines and the end line of the original annotations.): Unexpected token ">", expected '}' at offset 362
phpstan (8.3): app/helpers/MetaFormats/FormatCache.php#L12
Static property App\Helpers\MetaFormats\FormatCache::$validators is never read, only written.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L15
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L18
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L24
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L27
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L30
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.3): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L33
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/V1Module/presenters/base/BasePresenter.php#L350
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.2): app/helpers/MetaFormats/AnnotationConversion/NetteAnnotationConverter.php#L160
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.2): app/helpers/MetaFormats/AnnotationConversion/StandardAnnotationConverter.php#L85
PHPDoc tag @return has invalid value (array<array{annotations: array, originalAnnotationEndLine: float|int>} a list of dictionaries containing the new annotation lines and the end line of the original annotations.): Unexpected token ">", expected '}' at offset 362
phpstan (8.2): app/helpers/MetaFormats/FormatCache.php#L12
Static property App\Helpers\MetaFormats\FormatCache::$validators is never read, only written.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L15
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L18
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L24
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L27
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L30
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
phpstan (8.2): app/helpers/MetaFormats/FormatDefinitions/UserFormat.php#L33
Missing parameter $validators (mixed) in call to App\Helpers\MetaFormats\Attributes\FormatParameterAttribute constructor.
tests (8.3)
Process completed with exit code 1.
tests (8.2)
Process completed with exit code 1.