Skip to content

fix: phpstan

fix: phpstan #309

Triggered via push December 19, 2024 04:52
Status Failure
Total duration 32s
Artifacts
static-analysis
23s
static-analysis
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
static-analysis: src/Actions/Stub/ReplacePlaceholderAction.php#L55
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
static-analysis: src/Commands/InstallCommand.php#L92
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
static-analysis: src/Commands/InstallCommand.php#L102
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
static-analysis: src/Support/Source.php#L57
Method KoalaFacade\DiamondConsole\Support\Source::resolveNamespace() should return string but returns array<string>|string.
static-analysis: src/Support/Source.php#L88
Method KoalaFacade\DiamondConsole\Support\Source::transformNamespaceToPath() should return string but returns array<string>|string.
static-analysis: src/Support/Source.php#L104
Method KoalaFacade\DiamondConsole\Support\Source::resolveNameFromFile() should return string but returns array<string>|string.
static-analysis: src/Support/Source.php#L112
Method KoalaFacade\DiamondConsole\Support\Source::resolveStubForPath() should return string but returns array<string>|string.
static-analysis
Process completed with exit code 1.
static-analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636