| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | protected function readline() |
||
| 10 | { |
||
| 11 | if (!empty($this->inputBuffer)) { |
||
|
|
|||
| 12 | $line = \array_shift($this->inputBuffer); |
||
| 13 | if (!$line instanceof SilentInput) { |
||
| 14 | $this->output->writeln(\sprintf('<aside>%s %s</aside>', static::REPLAY, OutputFormatter::escape($line))); |
||
| 15 | } |
||
| 16 | |||
| 17 | return $line; |
||
| 18 | } |
||
| 19 | |||
| 20 | return false; |
||
| 21 | } |
||
| 22 | } |
||
| 23 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.