summaryrefslogtreecommitdiffstats
path: root/phpcs.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:29:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:29:16 +0000
commit8a985929ed84cdb458a13c66b25f84e41133b24f (patch)
tree102a3d6e3cb731c6d23263095d0098f99572626d /phpcs.xml
parentAdding upstream version 0.10.0. (diff)
downloadicingaweb2-module-reporting-8a985929ed84cdb458a13c66b25f84e41133b24f.tar.xz
icingaweb2-module-reporting-8a985929ed84cdb458a13c66b25f84e41133b24f.zip
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--phpcs.xml (renamed from .phpcs.xml)11
1 files changed, 4 insertions, 7 deletions
diff --git a/.phpcs.xml b/phpcs.xml
index d1d0ed7..e92acdd 100644
--- a/.phpcs.xml
+++ b/phpcs.xml
@@ -1,20 +1,17 @@
<?xml version="1.0"?>
-<ruleset name="PHP_CodeSniffer">
- <description>Sniff our code a while</description>
-
+<ruleset name="PSR12">
+ <!-- Test all PHP files except those in vendor/ -->
<file>./</file>
-
+ <arg name="extensions" value="php"/>
<exclude-pattern>vendor/*</exclude-pattern>
- <arg value="wps"/>
<arg name="report-width" value="auto"/>
<arg name="report-full"/>
<arg name="report-gitblame"/>
<arg name="report-summary"/>
<arg name="encoding" value="UTF-8"/>
- <arg name="extensions" value="php"/>
- <rule ref="PSR2"/>
+ <rule ref="PSR12"/>
<rule ref="Generic.Files.LineLength">
<properties>