added support for loose attribute validation #953
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/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#L164
Call to an undefined method ReflectionType::getName().
|
phpstan (8.3):
app/helpers/MetaFormats/MetaFormatHelper.php#L177
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.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/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#L164
Call to an undefined method ReflectionType::getName().
|
phpstan (8.2):
app/helpers/MetaFormats/MetaFormatHelper.php#L177
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.
|
tests (8.3)
Process completed with exit code 1.
|
tests (8.2)
Process completed with exit code 1.
|