diff options
Diffstat (limited to '.phpcs.xml')
-rw-r--r-- | .phpcs.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml new file mode 100644 index 0000000..8e4292f --- /dev/null +++ b/.phpcs.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<!-- +SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri +SPDX-FileCopyrightText: 2024 Harald Eilertsen + +SPDX-License-Identifier: CC0-1.0 +--> + +<ruleset + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + name="PHP_CodeSniffer" + xsi:noNamespaceSchemaLocation="phpcs.xsd" + > + + <description>PHP CodeSniffer config for Webtrap</description> + + <file>index.php</file> + <file>src</file> + + <rule ref="PSR12"> + </rule> + +</ruleset> |