diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-07-31 15:59:59 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-07-31 16:00:10 +0200 |
commit | 614030f9947a54868797d6a77acbeb6d6a096b29 (patch) | |
tree | 620d79a3a1a8fa2f8c7b4431110cc6939a2f594f /.phpcs.xml | |
download | migrate-614030f9947a54868797d6a77acbeb6d6a096b29.tar.gz migrate-614030f9947a54868797d6a77acbeb6d6a096b29.tar.bz2 migrate-614030f9947a54868797d6a77acbeb6d6a096b29.zip |
Initial commit
Importing the posts works, but not images.
Diffstat (limited to '.phpcs.xml')
-rw-r--r-- | .phpcs.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.phpcs.xml b/.phpcs.xml new file mode 100644 index 0000000..f8bb5f3 --- /dev/null +++ b/.phpcs.xml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd"> + <description>PHPCS configuration for hmno.migrate</description> + + <exclude-pattern>*/src/Standards/*/Tests/*\.(inc|css|js)$</exclude-pattern> + <exclude-pattern>*/tests/Core/*/*\.(inc|css|js)$</exclude-pattern> + + <arg name="basepath" value="."/> + <arg name="colors"/> + <arg name="parallel" value="75"/> + <arg value="np"/> + + <!-- Don't hide tokenizer exceptions --> + <rule ref="Internal.Tokenizer.Exception"> + <type>error</type> + </rule> + + <!-- Include the whole PEAR standard --> + <rule ref="WordPress"> + <exclude name="Generic.WhiteSpace.DisallowSpaceIndent" /> + <exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" /> + <exclude name="WordPress.Security.EscapeOutput.OutputNotEscaped" /> + <exclude name="Squiz.Commenting.FunctionComment.Missing" /> + </rule> +</ruleset> |