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
"/path/to/code/classA.php",4,12,error,"TRUE, FALSE and NULL must be lowercase; expected \"false\" but found \"FALSE\"",Generic.PHP.LowerCaseConstant.Found,5,1
@@ -308,7 +310,8 @@ PHP_CodeSniffer can output a diff file that can be applied using the `patch` com
308
310
309
311
```bash
310
312
$ phpcs --report=diff /path/to/code
311
-
313
+
```
314
+
```diff
312
315
--- /path/to/code/file.php
313
316
+++ PHP_CodeSniffer
314
317
@@ -1,8 +1,8 @@
@@ -449,7 +452,8 @@ PHP_CodeSniffer can output a JSON report to allow you to parse the output and us
449
452
450
453
```bash
451
454
$ phpcs --report=json /path/to/code
452
-
455
+
```
456
+
```json
453
457
{
454
458
"totals": {
455
459
"errors": 4,
@@ -528,7 +532,8 @@ PHP_CodeSniffer can output an XML report similar to the one produced by JUnit, a
0 commit comments