summaryrefslogtreecommitdiffstats
path: root/phpcs.xml
diff options
context:
space:
mode:
authorh-hishida <h-hishida@quartetcom.co.jp>2015-04-28 09:45:00 +0900
committerh-hishida <h-hishida@quartetcom.co.jp>2015-04-28 09:45:00 +0900
commit373ae12ca5db9837f84fef44f3f7077e766aca08 (patch)
treec515f2cccceaa886282ac40f89785da072a3627e /phpcs.xml
downloadPHPExcelFixer.StyleFixer-373ae12ca5db9837f84fef44f3f7077e766aca08.zip
PHPExcelFixer.StyleFixer-373ae12ca5db9837f84fef44f3f7077e766aca08.tar.gz
PHPExcelFixer.StyleFixer-373ae12ca5db9837f84fef44f3f7077e766aca08.tar.bz2
initial commit
Diffstat (limited to 'phpcs.xml')
-rwxr-xr-xphpcs.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/phpcs.xml b/phpcs.xml
new file mode 100755
index 0000000..76dc14b
--- /dev/null
+++ b/phpcs.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<ruleset>
+ <!-- 2. General -->
+ <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
+ <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
+ <rule ref="Generic.Strings.UnnecessaryStringConcat"/>
+ <!-- Include the whole PSR-2 standard -->
+ <rule ref="PSR2">
+ <exclude name="Generic.Files.LineLength"/>
+ </rule>
+ <rule ref="PEAR.Commenting.FunctionComment">
+ <exclude name="PEAR.Commenting.FunctionComment.MissingReturn"/>
+ <exclude name="PEAR.Commenting.FunctionComment.MissingParamComment"/>
+ <exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeTags"/>
+ <exclude name="PEAR.Commenting.FunctionComment.MissingParamTag"/>
+ <exclude name="PEAR.Commenting.FunctionComment.Missing"/>
+ <exclude name="PEAR.Commenting.FunctionComment.ParameterCommentsNotAligned"/>
+ </rule>
+</ruleset>