Skip to content

renamed various classes used in parameter attributes to make them sho… #961

renamed various classes used in parameter attributes to make them sho…

renamed various classes used in parameter attributes to make them sho… #961

Triggered via push January 29, 2025 14:10
Status Failure
Total duration 2m 11s
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#L340
Method App\V1Module\Presenters\BasePresenter::validateValue() is unused.
phpstan (8.2): app/helpers/MetaFormats/AnnotationToAttributeConverter.php#L164
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
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().
phpstan (8.2)
Process completed with exit code 1.
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#L164
Strict comparison using === between ''|numeric-string and null will always evaluate to false.
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.3)
Process completed with exit code 1.
tests (8.3)
Process completed with exit code 1.
tests (8.2)
Process completed with exit code 1.