| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 50 | public function addConfiguration(NodeDefinition $node) |
||
| 51 | { |
||
| 52 | parent::addConfiguration($node); |
||
| 53 | $node |
||
|
1 ignored issue
–
show
|
|||
| 54 | ->children() |
||
| 55 | ->scalarNode('value')->isRequired()->end() |
||
| 56 | ->end(); |
||
| 57 | } |
||
| 58 | } |
||
| 59 |
This check looks for accesses to local static members using the fully qualified name instead of
self::.While this is perfectly valid, the fully qualified name of
Certificate::TRIPLEDES_CBCcould just as well be replaced byself::TRIPLEDES_CBC. Referencing local members withself::assured the access will still work when the class is renamed, makes it perfectly clear that the member is in fact local and will usually be shorter.