| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 55 | 8 | protected function getFindQuery() { |
|
| 56 | 8 | if ($this->query !== null) { |
|
| 57 | 8 | return $this->query; |
|
| 58 | } |
||
| 59 | 8 | ||
| 60 | $this->query = new Query(); |
||
| 61 | $this->query->custom(function (Token $token) { |
||
| 62 | return (boolean) preg_match(LineEndingAbstract::REGEX, $token->getValue()); |
||
| 63 | }); |
||
| 64 | |||
| 65 | return $this->query; |
||
| 66 | } |
||
| 67 | |||
| 78 | } |
This check marks private properties in classes that are never used. Those properties can be removed.