1 | <?php |
||
11 | class Refinery extends \Rougin\Blueprint\Console |
||
12 | { |
||
13 | /** |
||
14 | * @var \Rougin\Blueprint\Blueprint |
||
15 | */ |
||
16 | protected static $application; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected static $name = 'Refinery'; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected static $version = '0.3.0'; |
||
27 | |||
28 | /** |
||
29 | * Prepares the console application. |
||
30 | * |
||
31 | * @param string $filename |
||
32 | * @param \Auryn\Injector|null $injector |
||
33 | * @param string|null $directory |
||
34 | * @return \Rougin\Blueprint\Blueprint |
||
35 | */ |
||
36 | 33 | public static function boot($filename = 'refinery.yml', \Auryn\Injector $injector = null, $directory = null) |
|
52 | |||
53 | /** |
||
54 | * Prepares the dependencies to be used. |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | 33 | protected static function prepareDependencies() |
|
74 | } |
||
75 |
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.