Add support to generate tests when generating field classes #2225
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
validate.yml
on: pull_request
Matrix: benchmarks
Matrix: coverage
Matrix: static-analysis
Matrix: tests
Annotations
71 errors
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and lowest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L31
Method Nuwave\Lighthouse\Console\FieldGeneratorCommand::handleTestCreation() has parameter $path with no type specified.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L41
Cannot access offset 'path' on Illuminate\Contracts\Foundation\Application.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L50
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceNamespace() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L51
Parameter #2 $name of method Illuminate\Console\GeneratorCommand::replaceClass() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L53
Parameter #2 $replace of method Illuminate\Support\Stringable::replace() expects iterable<string>|string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies:
src/Console/FieldGeneratorCommand.php#L66
Parameter #2 $contents of method Illuminate\Filesystem\Filesystem::put() expects string, Illuminate\Support\Stringable given.
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies
Child process error (exit code 1): ErrorException thrown in /home/runner/work/lighthouse/lighthouse/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 335 while loading bootstrap file /home/runner/work/lighthouse/lighthouse/vendor/nunomaduro/larastan/bootstrap.php: symlink(): File exists
|
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies
Process completed with exit code 1.
|