Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function __construct(HookScope $scope, Hook $hook, $arguments, $errorReportingLevel = null) |
||
36 | { |
||
37 | $environment; |
||
|
|||
38 | $hook; |
||
39 | $arguments; |
||
40 | $errorReportingLevel; |
||
41 | parent::__construct($scope->getEnvironment(), $hook, array($scope, $arguments), $errorReportingLevel); |
||
42 | |||
43 | $this->scope = $scope; |
||
44 | } |
||
45 | |||
56 |
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.