| @@ 210-214 (lines=5) @@ | ||
| 207 | } |
|
| 208 | ||
| 209 | echo $source; |
|
| 210 | if ($totalFixable > 0) { |
|
| 211 | echo str_repeat(' ', ($width - 9 - strlen($source))); |
|
| 212 | } else { |
|
| 213 | echo str_repeat(' ', ($width - 5 - strlen($source))); |
|
| 214 | } |
|
| 215 | } else { |
|
| 216 | $parts = $sourceData['parts']; |
|
| 217 | ||
| @@ 236-240 (lines=5) @@ | ||
| 233 | $sniff = substr($sniff, 0, $maxSniffWidth); |
|
| 234 | } |
|
| 235 | ||
| 236 | if ($totalFixable > 0) { |
|
| 237 | echo $sniff.str_repeat(' ', ($width - 39 - strlen($sniff))); |
|
| 238 | } else { |
|
| 239 | echo $sniff.str_repeat(' ', ($width - 35 - strlen($sniff))); |
|
| 240 | } |
|
| 241 | }//end if |
|
| 242 | ||
| 243 | echo $sourceData['count'].PHP_EOL; |
|
| @@ 279-283 (lines=5) @@ | ||
| 276 | } |
|
| 277 | ||
| 278 | echo $source; |
|
| 279 | if ($totalFixable > 0) { |
|
| 280 | echo str_repeat(' ', ($width - 18 - strlen($source))); |
|
| 281 | } else { |
|
| 282 | echo str_repeat(' ', ($width - 14 - strlen($source))); |
|
| 283 | } |
|
| 284 | ||
| 285 | echo $line.PHP_EOL; |
|
| 286 | }//end foreach |
|