Skip to content

added automatic multiline attribute conversions for long annotations #975

added automatic multiline attribute conversions for long annotations

added automatic multiline attribute conversions for long annotations #975

Triggered via push February 14, 2025 11:20
Status Failure
Total duration 2m 12s
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/AnnotationToAttributeConverter.php#L167
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.3): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L265
Offset int<0, max> does not exist on array{}.
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#L166
Method App\Helpers\MetaFormats\MetaFormatHelper::createNameToFieldDefinitionsMap() should return array{format: string|null, type: string|null} but returns array<App\Helpers\MetaFormats\RequestParamData>.
phpstan (8.3): app/helpers/Swagger/AnnotationHelper.php#L82
Strict comparison using === between string and null will always evaluate to false.
phpstan (8.3): app/helpers/Swagger/AnnotationHelper.php#L195
Static method App\Helpers\Swagger\AnnotationHelper::stringArrayToAssociativeArray() is unused.
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().
phpstan (8.2): app/V1Module/presenters/base/BasePresenter.php#L340
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.2): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L167
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
phpstan (8.2): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L265
Offset int<0, max> does not exist on array{}.
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#L166
Method App\Helpers\MetaFormats\MetaFormatHelper::createNameToFieldDefinitionsMap() should return array{format: string|null, type: string|null} but returns array<App\Helpers\MetaFormats\RequestParamData>.
phpstan (8.2): app/helpers/Swagger/AnnotationHelper.php#L82
Strict comparison using === between string and null will always evaluate to false.
phpstan (8.2): app/helpers/Swagger/AnnotationHelper.php#L195
Static method App\Helpers\Swagger\AnnotationHelper::stringArrayToAssociativeArray() is unused.
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().
tests (8.2)
Process completed with exit code 1.
tests (8.3)
Process completed with exit code 1.