Skip to content

added fields to attributes for extraction, formats are now referenced… #957

added fields to attributes for extraction, formats are now referenced…

added fields to attributes for extraction, formats are now referenced… #957

Triggered via push January 23, 2025 12:37
Status Failure
Total duration 2m 6s
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#L211
Strict comparison using === between App\Helpers\MetaFormats\MetaFormat and null will always evaluate to false.
phpstan (8.3): app/V1Module/presenters/base/BasePresenter.php#L350
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/FieldFormatDefinition.php#L109
Call to an undefined static method App\Helpers\MetaFormats\FormatCache::getValidators().
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/MetaFormatHelper.php#L20
Static method App\Helpers\MetaFormats\MetaFormatHelper::extractFormatData() is unused.
phpstan (8.3): app/helpers/MetaFormats/MetaFormatHelper.php#L157
Call to an undefined method ReflectionType::getName().
phpstan (8.3): app/helpers/MetaFormats/MetaFormatHelper.php#L170
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/helpers/Swagger/AnnotationHelper.php#L113
Static method App\Helpers\Swagger\AnnotationHelper::extractNetteAnnotationParams() is unused.
phpstan (8.3): app/model/view/MetaView.php#L30
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getFormatDefinitions().
phpstan (8.2): app/V1Module/presenters/base/BasePresenter.php#L211
Strict comparison using === between App\Helpers\MetaFormats\MetaFormat and null will always evaluate to false.
phpstan (8.2): app/V1Module/presenters/base/BasePresenter.php#L350
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/FieldFormatDefinition.php#L109
Call to an undefined static method App\Helpers\MetaFormats\FormatCache::getValidators().
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/MetaFormatHelper.php#L20
Static method App\Helpers\MetaFormats\MetaFormatHelper::extractFormatData() is unused.
phpstan (8.2): app/helpers/MetaFormats/MetaFormatHelper.php#L157
Call to an undefined method ReflectionType::getName().
phpstan (8.2): app/helpers/MetaFormats/MetaFormatHelper.php#L170
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/helpers/Swagger/AnnotationHelper.php#L113
Static method App\Helpers\Swagger\AnnotationHelper::extractNetteAnnotationParams() is unused.
phpstan (8.2): app/model/view/MetaView.php#L30
Call to an undefined static method App\Helpers\MetaFormats\MetaFormatHelper::getFormatDefinitions().
tests (8.2)
Process completed with exit code 1.
tests (8.3)
Process completed with exit code 1.