| 1 | <?php |
||
| 18 | class CLIReportGenerator implements ReportGenerator { |
||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function start_ruleset(Ruleset $rule) { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | public function start_rule(Rule $rule) { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | public function report_violation(Violation $violation) { |
||
| 39 | } |
||
| 40 |
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.