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

View on GitHub
src/Utils/NormalizedName.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)
Open

            static fn(array $matches): string => "{$matches[1]}-{$matches[2]}",
Severity: Critical
Found in src/Utils/NormalizedName.php by phan

Line indented incorrectly; expected 8 spaces, found 12
Open

            static fn(array $matches): string => "{$matches[1]}-{$matches[2]}",
Severity: Minor
Found in src/Utils/NormalizedName.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            static fn(string $element): string => ucfirst(strtolower($element)),
Severity: Minor
Found in src/Utils/NormalizedName.php by phpcodesniffer

There are no issues that match your filters.

Category
Status