for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use App\Models\Resource;
use Illuminate\Database\Seeder;
class ResourceSeeder extends Seeder // phpcs:ignore
{
/**
* Run the database seeds.
*
* @return void
*/
public function run(): void
factory(Resource::class, 5)->create();
factory
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
}