Conditions | 4 |
Paths | 3 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function runAll() |
||
26 | { |
||
27 | while ($this->pendingChecks->isNotEmpty() || $this->runningChecks->isNotEmpty()) { |
||
28 | if ($this->runningChecks->count() < config('server-monitor.concurrent_ssh_connections')) { |
||
29 | $this->startNextCheck(); |
||
30 | } |
||
31 | |||
32 | $this->handleFinishedChecks(); |
||
33 | } |
||
34 | } |
||
35 | |||
68 |
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.