for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TildBJ\Seeder\Tests\Functional\Seeder;
use TildBJ\Seeder;
/**
* Class User
* @package TildBJ\Seeder\Tests\Functional\Seeder
*/
class User extends Seeder\Seeder\DatabaseSeeder
{
* Run the database seeds.
*
* @return void
public function run()
$this->factory->create('fe_users', 2)->each(function (Seeder\Seed $seed, Seeder\Faker $faker) {
$faker
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$seed->set([
'email' => '[email protected]',
'usergroup' => $this->call(Group::class)
]);
});
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.