aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
-rw-r--r--PEARish.xml16
2 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 2c6e9a6..3b51a2e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -77,3 +77,6 @@ ENV PATH "$PATH:/root/.composer/vendor/bin"
# Add Symfony 2 coding standard to the phpcs paths
RUN phpcs --config-set installed_paths /root/.composer/vendor/escapestudios/symfony2-coding-standard
+
+# Install custom linting
+ADD PEARish.xml /root/PEARish.xml
diff --git a/PEARish.xml b/PEARish.xml
new file mode 100644
index 0000000..0e103bd
--- /dev/null
+++ b/PEARish.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<ruleset name="PEARish">
+ <rule ref="PEAR">
+ <exclude name="PEAR.Commenting.FileComment.MissingCategoryTag"/>
+ <exclude name="PEAR.Commenting.FileComment.MissingPackageTag"/>
+ <exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/>
+ <exclude name="PEAR.Commenting.FileComment.MissingLicenseTag"/>
+ <exclude name="PEAR.Commenting.FileComment.MissingLinkTag"/>
+ <exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
+ <exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
+ <exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
+ <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
+ <exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
+ <exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
+ </rule>
+</ruleset>