wol-soft/php-json-schema-model-generator

View on GitHub

Showing 529 of 529 total issues

Possibly zero references to use statement for classlike/namespace Schema (\PHPModelGenerator\Model\Schema)
Open

use PHPModelGenerator\Model\Schema;

syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open

    public function __construct(protected string $className, protected GeneratorConfiguration $generatorConfiguration)

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private string $variableSuffix;
Severity: Critical
Found in src/Model/Validator/ArrayItemValidator.php by phan

syntax error, unexpected ')'
Open

        );

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private array $tupleProperties;

syntax error, unexpected ')'
Open

        );

syntax error, unexpected ')'
Open

        );
Severity: Critical
Found in src/Model/Validator/EnumValidator.php by phan

syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE)
Open

    public function __construct(private bool $addForModelsWithoutAdditionalPropertiesDefinition = false) {}

syntax error, unexpected ')'
Open

            ),

syntax error, unexpected ')'
Open

        );

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private array $generatedEnums = [];

syntax error, unexpected ')', expecting variable (T_VARIABLE)
Open

    ): void {

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected array $types;

syntax error, unexpected ')'
Open

                )

syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE)
Open

    public function __construct(private PropertyInterface $property) {}

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected string $type;
Severity: Critical
Found in src/Model/Validator/TypeCheckValidator.php by phan

syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open

        protected PropertyMetaDataCollection $propertyMetaDataCollection,

syntax error, unexpected ')'
Open

                );

syntax error, unexpected ')'
Open

        ))

syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open

    public function __construct(protected ProcessorFactoryInterface $processorFactory) {}
Severity: Critical
Found in src/PropertyProcessor/PropertyFactory.php by phan
Severity
Category
Status
Source
Language