Initial commit
This commit is contained in:
27
phpcs.xml.dist
Normal file
27
phpcs.xml.dist
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="1984-hosting-support" xsi:noNamespaceSchemaLocation="phpcs.xsd">
|
||||
<description>1984 Hosting Support PHPCS Config.</description>
|
||||
|
||||
<arg name="basepath" value="."/>
|
||||
<arg value="s"/>
|
||||
|
||||
<exclude-pattern>vendor/</exclude-pattern>
|
||||
<exclude-pattern>views/</exclude-pattern>
|
||||
|
||||
<file>1984-hosting-support.php</file>
|
||||
<file>1984-hosting-support-ui.php</file>
|
||||
|
||||
<!-- Include the WordPress standard -->
|
||||
<rule ref="WordPress">
|
||||
<exclude name="WordPress.Files.FileName"/>
|
||||
<exclude name="Squiz.Commenting.FileComment"/>
|
||||
</rule>
|
||||
|
||||
<rule ref="Generic.Files.LineLength">
|
||||
<properties>
|
||||
<property name="lineLimit" value="80"/>
|
||||
<property name="absoluteLineLimit" value="120"/>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
||||
Reference in New Issue
Block a user