diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-07-05 08:52:22 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-07-05 08:52:22 +0200 |
commit | dd9a627ab40e69e903d731f9644055faab8163fa (patch) | |
tree | 525019e65ed3f88adca8cc19381ed8db760bcdfd /.phpcs.xml | |
parent | 27bf644d5809be63e439484a3f8ffee81b9d367b (diff) | |
download | volse-webtrap-dd9a627ab40e69e903d731f9644055faab8163fa.tar.gz volse-webtrap-dd9a627ab40e69e903d731f9644055faab8163fa.tar.bz2 volse-webtrap-dd9a627ab40e69e903d731f9644055faab8163fa.zip |
Add Composer, phpunit, phpcs and editorconfig
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> |