| 1 | <?php |
||
| 14 | abstract class LineEndingAbstract implements FileTool { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private static $lineEndings = [ |
||
|
|
|||
| 20 | 'crlf' => "\r\n", |
||
| 21 | 'lf' => "\n", |
||
| 22 | 'cr' => "\r", |
||
| 23 | ]; |
||
| 24 | |||
| 25 | const REGEX = '!\r\n?!'; |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * @codeCoverageIgnore |
||
| 30 | * @param FileInfo $file |
||
| 31 | * @return boolean |
||
| 32 | */ |
||
| 33 | public function canProcess(FileInfo $file) { |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @codeCoverageIgnore |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getDescription() { |
||
| 45 | |||
| 46 | |||
| 47 | /** |
||
| 48 | * @param FileInfo $file |
||
| 49 | * @return \Funivan\PhpTokenizer\Collection |
||
| 50 | */ |
||
| 51 | 4 | protected function getInvalidStartTokens(FileInfo $file) { |
|
| 61 | |||
| 62 | } |
This check marks private properties in classes that are never used. Those properties can be removed.