| @@ 212-216 (lines=5) @@ | ||
| 209 | } |
|
| 210 | ||
| 211 | echo $source; |
|
| 212 | if ($totalFixable > 0) { |
|
| 213 | echo str_repeat(' ', ($width - 9 - strlen($source))); |
|
| 214 | } else { |
|
| 215 | echo str_repeat(' ', ($width - 5 - strlen($source))); |
|
| 216 | } |
|
| 217 | } else { |
|
| 218 | $parts = $sourceData['parts']; |
|
| 219 | ||
| @@ 238-242 (lines=5) @@ | ||
| 235 | $sniff = substr($sniff, 0, $maxSniffWidth); |
|
| 236 | } |
|
| 237 | ||
| 238 | if ($totalFixable > 0) { |
|
| 239 | echo $sniff.str_repeat(' ', ($width - 39 - strlen($sniff))); |
|
| 240 | } else { |
|
| 241 | echo $sniff.str_repeat(' ', ($width - 35 - strlen($sniff))); |
|
| 242 | } |
|
| 243 | }//end if |
|
| 244 | ||
| 245 | echo $sourceData['count'].PHP_EOL; |
|