| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 13 | public function up(Schema $schema) : void |
||
| 14 | { |
||
| 15 | $pass = ''; |
||
| 16 | $roles = '["ROLE_USER","ROLE_ADMIN"]'; |
||
| 17 | $this->addSql("INSERT INTO users_profiles (id, first_name, last_name, birth_date, about, public_email) VALUES (1, 'Support', 'Support', NULL, NULL, '[email protected]')"); |
||
| 18 | $this->addSql("INSERT INTO users (id, profile_id, email, is_email_confirmed, username, password, roles) VALUES (1, 1, '[email protected]', 1, 'support', '$pass', '$roles')"); |
||
| 19 | } |
||
| 20 | |||
| 27 |