Exclude node_modules directories from phpcs

The `flatted` module in lib/ve/node_modules includes some php files that
keep causing errors.

Add the --cache just because it seems to be common practice in other MW
extensions.

Change-Id: Ia791e569587d76e991711b93011cb1df3796f532
This commit is contained in:
David Lynch 2023-10-12 16:52:22 -05:00
parent f40a487360
commit 099e7a80c4

View file

@ -17,6 +17,6 @@
"phpcbf"
],
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp"
"phpcs": "phpcs -sp --cache --ignore=*/node_modules/"
}
}