| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function run() |
||
| 14 | { |
||
| 15 | // Test Seeders |
||
| 16 | $cat1 = new SystemCategories(); |
||
| 17 | $cat1->cat_id = 1; |
||
|
1 ignored issue
–
show
|
|||
| 18 | $cat1->name = 'Phones'; |
||
|
1 ignored issue
–
show
|
|||
| 19 | $cat1->save(); |
||
| 20 | |||
| 21 | $cat2 = new SystemCategories(); |
||
| 22 | $cat2->cat_id = 2; |
||
| 23 | $cat2->name = 'Security'; |
||
| 24 | $cat2->save(); |
||
| 25 | |||
| 26 | $cat3 = new SystemCategories(); |
||
| 27 | $cat3->cat_id = 3; |
||
| 28 | $cat3->name = 'Bells'; |
||
| 29 | $cat3->save(); |
||
| 30 | } |
||
| 32 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.