Skip to content

bugfix: validators are now converted to arrays in attributes, descrip… #978

bugfix: validators are now converted to arrays in attributes, descrip…

bugfix: validators are now converted to arrays in attributes, descrip… #978

Triggered via push February 17, 2025 12:31
Status Failure
Total duration 2m 15s
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#L340
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.3): app/helpers/MetaFormats/AnnotationConversion/NetteAnnotationConverter.php#L162
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.3): app/helpers/MetaFormats/AnnotationConversion/StandardAnnotationConverter.php#L87
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#L340
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.2): app/helpers/MetaFormats/AnnotationConversion/NetteAnnotationConverter.php#L162
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.2): app/helpers/MetaFormats/AnnotationConversion/StandardAnnotationConverter.php#L87
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.