cleanup #17
Annotations
5 errors and 2 warnings
Run phpstan:
src/Converters/FromClosure.php#L43
Parameter #1 $type of static method Cortex\JsonSchema\Converters\FromClosure::getSchemaFromReflectionType() expects ReflectionIntersectionType|ReflectionNamedType|ReflectionUnionType|null, ReflectionType|null given.
|
Run phpstan:
src/Converters/FromClosure.php#L68
Access to an undefined property UnitEnum::$value.
|
Run phpstan:
src/Converters/FromClosure.php#L68
Parameter #1 $values of method Cortex\JsonSchema\Contracts\Schema::enum() expects non-empty-array<bool|float|int|string|null>, list<int|string> given.
|
Run phpstan:
src/Converters/FromClosure.php#L84
Parameter #1 $callback of function array_map expects (callable(ReflectionType): mixed)|null, Closure(ReflectionNamedType): Cortex\JsonSchema\Enums\SchemaType given.
|
Run phpstan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Get Composer Cache Directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading