You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pint.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Pint will display a thorough list of all of the files that it updates. You can v
47
47
./vendor/bin/pint -v
48
48
```
49
49
50
-
If you would like Pint to simply inspect your code for style errors without actually changing the files, you may use the `--test` option:
50
+
If you would like Pint to simply inspect your code for style errors without actually changing the files, you may use the `--test` option. Pint will return a non-zero exit code if any code style errors are found:
51
51
52
52
```shell
53
53
./vendor/bin/pint --test
@@ -59,6 +59,12 @@ If you would like Pint to only modify the files that have uncommitted changes ac
59
59
./vendor/bin/pint --dirty
60
60
```
61
61
62
+
If you would like Pint to fix any files with code style errors but also exit with a non-zero exit code if any errors were fixed, you may use the `--repair` option:
0 commit comments