@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | function getRealFilePath(string $filePath): string |
| 88 | 88 | { |
| 89 | 89 | if ('.' === $filePath[0]) { |
| 90 | - $realFilePath = realpath(getcwd() . '/' . $filePath); |
|
| 90 | + $realFilePath = realpath(getcwd().'/'.$filePath); |
|
| 91 | 91 | } else { |
| 92 | 92 | $realFilePath = $filePath; |
| 93 | 93 | } |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | function getLineHash(string $fileLine, string $errorLine): string |
| 103 | 103 | { |
| 104 | - return md5(trim($fileLine . $errorLine)); |
|
| 104 | + return md5(trim($fileLine.$errorLine)); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | function findViolationId(string $line): ?string |