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 @@
@@ -441,7 +444,8 @@ PHP_CodeSniffer can output a JSON report to allow you to parse the output and us
441
444
442
445
```bash
443
446
$ phpcs --report=json /path/to/code
444
-
447
+
```
448
+
```json
445
449
{
446
450
"totals": {
447
451
"errors": 4,
@@ -520,7 +524,8 @@ PHP_CodeSniffer can output an XML report similar to the one produced by JUnit, a
0 commit comments