diff options
author | Cody Hiar <cody.hiar@investopedia.com> | 2016-07-28 14:40:30 -0600 |
---|---|---|
committer | Cody Hiar <cody.hiar@investopedia.com> | 2016-07-28 14:40:30 -0600 |
commit | baa88ff5c7cd91687656b12c0892383488235a39 (patch) | |
tree | ae6b75a30f394781a02f6e92a259a84f315d225f | |
parent | c9de8b808ce7e984dd9620fa6f54b01279dd67a2 (diff) |
Adding PEARish standard which ignores tags that get annoying but I like
the forced file and class comments
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | PEARish.xml | 16 |
2 files changed, 19 insertions, 0 deletions
@@ -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> |