Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | protected function configure() |
||
14 | { |
||
15 | $this |
||
16 | ->setName('build') |
||
17 | ->setDescription('Build the website') |
||
18 | ->setHelp('Build the website in the output directory.') |
||
19 | ->setDefinition( |
||
20 | new InputDefinition([ |
||
21 | new InputOption('drafts', 'd', InputOption::VALUE_NONE, 'Include drafts'), |
||
22 | ]) |
||
23 | ); |
||
24 | } |
||
25 | |||
53 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.