| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | protected function configure() |
||
| 18 | { |
||
| 19 | parent::configure(); |
||
| 20 | $this->setName('migrations:create'); |
||
| 21 | |||
| 22 | $this->setDescription('Create a new migration') |
||
| 23 | ->addArgument('name', InputArgument::OPTIONAL, 'Class name of the migration (in CamelCase)') |
||
| 24 | ->setHelp( |
||
| 25 | sprintf( |
||
| 26 | '%sCreates a new database migration%s', |
||
| 27 | PHP_EOL, |
||
| 28 | PHP_EOL |
||
| 29 | ) |
||
| 44 |