Commit 01148cd
committed
Add diff of violations on error
Example
Legend: ?-unknown, I-invalid file syntax (file ignored), S-skipped (cached or empty file), .-no changes, F-fixed, E-error
1) path/tp/Command.php (declare_strict_types, blank_line_after_opening_tag, single_line_after_imports)
---------- begin diff ----------
--- Original
+++ New
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
namespace App\Console\Commands\Foo;
use App\Console\Command;
@@ -8,8 +10,6 @@
use RuntimeException;
use Symfony\Component\Process\Process;
-
-
class Foo extends Command
{
----------- end diff -----------1 parent f2d3047 commit 01148cd
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments