wip #1
Annotations
10 errors and 1 warning
Run PHPStan:
src/Actions/ResolveClassesInPhpFileAction.php#L40
Parameter #1 $callback of function array_map expects (callable(PhpParser\Node): mixed)|null, Closure(PhpParser\Node\Stmt\Class_|PhpParser\Node\Stmt\Enum_|PhpParser\Node\Stmt\Interface_|PhpParser\Node\Stmt\Trait_): (string|null) given.
|
Run PHPStan:
src/Actions/TranspileTypeToTypeScriptAction.php#L55
Instanceof between phpDocumentor\Reflection\Type and phpDocumentor\Reflection\Types\ClassString will always evaluate to false.
|
Run PHPStan:
src/Attributes/TypeScriptType.php#L28
If condition is always true.
|
Run PHPStan:
src/Attributes/TypeScriptType.php#L32
Unreachable statement - code above always terminates.
|
Run PHPStan:
src/Transformers/EnumTransformer.php#L42
Parameter #1 $callback of function array_map expects (callable(ReflectionEnumUnitCase): mixed)|null, Closure(ReflectionEnumBackedCase): non-falsy-string given.
|
Run PHPStan:
src/Transformers/EnumTransformer.php#L57
Parameter #1 $callback of function array_map expects (callable(ReflectionEnumUnitCase): mixed)|null, Closure(ReflectionEnumBackedCase): string given.
|
Run PHPStan:
src/TypeReflectors/TypeReflector.php#L39
Method Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector::new() should return static(Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector) but returns Spatie\TypeScriptTransformer\TypeReflectors\PropertyTypeReflector.
|
Run PHPStan:
src/TypeReflectors/TypeReflector.php#L43
Method Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector::new() should return static(Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector) but returns Spatie\TypeScriptTransformer\TypeReflectors\MethodParameterTypeReflector.
|
Run PHPStan:
src/TypeReflectors/TypeReflector.php#L46
Method Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector::new() should return static(Spatie\TypeScriptTransformer\TypeReflectors\TypeReflector) but returns Spatie\TypeScriptTransformer\TypeReflectors\MethodReturnTypeReflector.
|
Run PHPStan
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading