| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function run() |
||
| 9 | { |
||
| 10 | $faker = Faker\Factory::create(); |
||
| 11 | $usersNumber = 10; |
||
| 12 | for ($i = 1; $i <= $usersNumber; $i++) { |
||
| 13 | \App\Models\Users\User::create( |
||
|
|
|||
| 14 | [ |
||
| 15 | 'name' => $faker->name, |
||
| 16 | 'surname' => $faker->lastName, |
||
| 17 | 'email' => $faker->email, |
||
| 18 | 'age' => rand(15, 99), |
||
| 19 | ] |
||
| 20 | ); |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.