Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | protected function configure() |
||
37 | { |
||
38 | $this->setDescription('Create a new migration file') |
||
39 | ->addArgument( |
||
40 | 'name', |
||
41 | InputArgument::REQUIRED, |
||
42 | 'The name of the migration' |
||
43 | ) |
||
44 | ->addOption( |
||
45 | 'template', |
||
46 | 't', |
||
47 | InputOption::VALUE_REQUIRED, |
||
48 | 'Migration template' |
||
49 | ) |
||
50 | ->addOption( |
||
51 | 'directory', |
||
52 | 'd', |
||
53 | InputOption::VALUE_REQUIRED, |
||
54 | 'Migration directory' |
||
55 | ); |
||
56 | } |
||
57 | |||
75 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.