fix: phpstan #309
Annotations
8 errors and 1 warning
Run phpstan:
src/Actions/Stub/ReplacePlaceholderAction.php#L55
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
|
Run phpstan:
src/Commands/InstallCommand.php#L92
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
|
Run phpstan:
src/Commands/InstallCommand.php#L102
Parameter $contents of method Illuminate\Filesystem\Filesystem::put() expects string, array<string>|string given.
|
Run phpstan:
src/Support/Source.php#L57
Method KoalaFacade\DiamondConsole\Support\Source::resolveNamespace() should return string but returns array<string>|string.
|
Run phpstan:
src/Support/Source.php#L88
Method KoalaFacade\DiamondConsole\Support\Source::transformNamespaceToPath() should return string but returns array<string>|string.
|
Run phpstan:
src/Support/Source.php#L104
Method KoalaFacade\DiamondConsole\Support\Source::resolveNameFromFile() should return string but returns array<string>|string.
|
Run phpstan:
src/Support/Source.php#L112
Method KoalaFacade\DiamondConsole\Support\Source::resolveStubForPath() should return string but returns array<string>|string.
|
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
|
Loading