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

View on GitHub

Showing 529 of 529 total issues

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

    private string $extractedMethodName;

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

    public function __construct(private bool $rootLevelComposition) {}

syntax error, unexpected ')'
Open

        );

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

    public function __construct(private Schema $schema) {}

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

    public function __construct(private Schema $schema) {}

syntax error, unexpected ')'
Open

                )

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

        protected string $baseSource,
Severity: Critical
Found in src/SchemaProcessor/SchemaProcessor.php by phan

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

    ): PropertyProcessorInterface;

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

                public function __construct(private Schema $schema) {}

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

    public function __construct(private string $sourceFile)
Severity: Critical
Found in src/SchemaProvider/OpenAPIv3Provider.php by phan

syntax error, unexpected ')'
Open

                )

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

    static private ?Render $renderer = null;

syntax error, unexpected ')'
Open

                ))

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

    ): string {
Severity: Critical
Found in src/Utils/ClassNameGenerator.php by phan

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

    protected ResolvedDefinitionsCollection $resolvedPaths;

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

    public function __construct(protected array $types, PropertyInterface $property, bool $allowImplicitNull)

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

    ): self {

syntax error, unexpected ')'
Open

                    );

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

    private ?PropertyInterface $mergedProperty = null;

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

    public function __construct(protected array $requiredAttributes = [], protected array $dependencies = []) {}
Severity
Category
Status
Source
Language