Have phpcs skip local configuration files
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 22 Nov 2016 18:12:38 +0000 (13:12 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 22 Nov 2016 18:13:52 +0000 (13:13 -0500)
There's little point in phpcs checking LocalSettings.php or the other
*.php files in .gitignore.

Change-Id: Ibea15a3f3a7bfe2571e253ba9e19c1d91dfddeff

phpcs.xml

index edce2ea..4693b42 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -31,4 +31,7 @@
        <exclude-pattern type="relative">^extensions/</exclude-pattern>
        <exclude-pattern type="relative">^skins/</exclude-pattern>
        <exclude-pattern>.git</exclude-pattern>
+       <exclude-pattern>AdminSettings.php</exclude-pattern>
+       <exclude-pattern>LocalSettings.php</exclude-pattern>
+       <exclude-pattern>StartProfiler.php</exclude-pattern>
 </ruleset>