Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-21 04:10:42 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-21 04:10:42 +0300
commite69b22e9f71fb2467324c785ac8f66a8853bf5b8 (patch)
treea384ba61dabacc0258129c61c8f4e9156ded0240 /phpcs.xml.dist
parentbeb304c9470fa2d0b4cb0597b8ab9bd62bc01d59 (diff)
Add phpcs to the Travis build
Adds composer test command. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r--phpcs.xml.dist20
1 files changed, 19 insertions, 1 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index 7925efebc7..72448ac474 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -1,6 +1,24 @@
<?xml version="1.0"?>
<ruleset name="phpMyAdmin Coding Standard">
- <rule ref="./vendor/phpmyadmin/coding-standard/PMAStandard/ruleset.xml"/>
+ <rule ref="./vendor/phpmyadmin/coding-standard/PMAStandard/ruleset.xml">
+ <exclude name="Generic.Metrics.NestingLevel.TooHigh"/>
+ <exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
+ <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
+ <exclude name="PSR1.Classes.ClassDeclaration.MultipleClasses"/>
+ <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
+ <exclude name="PMAStandard.Commenting.FileComment.Missing"/>
+ <exclude name="PMAStandard.Commenting.ClassComment.Missing"/>
+ <exclude name="PMAStandard.Commenting.ClassComment.MissingPackageTag"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.Missing"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamComment"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamName"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamTag"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.MissingReturn"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.ExtraParamComment"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.ParamNameNoMatch"/>
+ <exclude name="PMAStandard.Commenting.FunctionComment.SpacingAfter"/>
+ <exclude name="PMAStandard.Files.SpacesAroundConcat.Found"/>
+ </rule>
<arg value="sp"/>
<arg name="colors"/>