Skip to content

changed presenter description to avoid a bug in the attribute convert… #951

changed presenter description to avoid a bug in the attribute convert…

changed presenter description to avoid a bug in the attribute convert… #951

Triggered via push January 5, 2025 13:21
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

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

Annotations

22 errors
phpstan (8.2): app/V1Module/presenters/base/BasePresenter.php#L336
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.2): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L126
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.2): app/helpers/MetaFormats/Attributes/FormatAttribute.php#L13
Constructor of class App\Helpers\MetaFormats\Attributes\FormatAttribute has an unused parameter $format.
phpstan (8.2): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $description.
phpstan (8.2): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $required.
phpstan (8.2): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $type.
phpstan (8.2): app/helpers/MetaFormats/MetaFormatHelper.php#L162
Call to an undefined method ReflectionType::getName().
phpstan (8.2): app/helpers/MetaFormats/MetaFormatHelper.php#L175
Method App\Helpers\MetaFormats\MetaFormatHelper::createNameToFieldDefinitionsMap() should return array{format: string|null, type: string|null} but returns array<App\Helpers\MetaFormats\FieldFormatDefinition>.
phpstan (8.2): app/model/view/MetaView.php#L30
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getFormatDefinitions().
phpstan (8.2): app/model/view/MetaView.php#L49
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getClassFormats().
phpstan (8.3): app/V1Module/presenters/base/BasePresenter.php#L336
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.3): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L126
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.3): app/helpers/MetaFormats/Attributes/FormatAttribute.php#L13
Constructor of class App\Helpers\MetaFormats\Attributes\FormatAttribute has an unused parameter $format.
phpstan (8.3): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $description.
phpstan (8.3): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $required.
phpstan (8.3): app/helpers/MetaFormats/Attributes/FormatParameterAttribute.php#L14
Constructor of class App\Helpers\MetaFormats\Attributes\FormatParameterAttribute has an unused parameter $type.
phpstan (8.3): app/helpers/MetaFormats/MetaFormatHelper.php#L162
Call to an undefined method ReflectionType::getName().
phpstan (8.3): app/helpers/MetaFormats/MetaFormatHelper.php#L175
Method App\Helpers\MetaFormats\MetaFormatHelper::createNameToFieldDefinitionsMap() should return array{format: string|null, type: string|null} but returns array<App\Helpers\MetaFormats\FieldFormatDefinition>.
phpstan (8.3): app/model/view/MetaView.php#L30
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getFormatDefinitions().
phpstan (8.3): app/model/view/MetaView.php#L49
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getClassFormats().
tests (8.3)
Process completed with exit code 1.
tests (8.2)
Process completed with exit code 1.