mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-31 03:19:48 +02:00
major rearrange to prepare to move to PHP 5.4
This commit is contained in:
33
.phpcs.xml
Normal file
33
.phpcs.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="PHPCS rule set">
|
||||
<description>Custom rule set.</description>
|
||||
|
||||
<file>.</file>
|
||||
<file>test</file>
|
||||
<file>autoload.php</file>
|
||||
|
||||
<exclude-pattern>docs/*</exclude-pattern>
|
||||
<exclude-pattern>build/*</exclude-pattern>
|
||||
<exclude-pattern>test/config.php</exclude-pattern>
|
||||
<exclude-pattern>webroot/imgs.php</exclude-pattern>
|
||||
<exclude-pattern>webroot/imgp.php</exclude-pattern>
|
||||
<exclude-pattern>webroot/imgd.php</exclude-pattern>
|
||||
<exclude-pattern>webroot/test/*</exclude-pattern>
|
||||
<exclude-pattern>webroot/js/*</exclude-pattern>
|
||||
<exclude-pattern>webroot/compare/*</exclude-pattern>
|
||||
|
||||
<arg name="encoding" value="utf-8"/>
|
||||
<!--<arg name="extensions" value=".php"/>-->
|
||||
<!--<arg name="colors" value="1"/>-->
|
||||
<!--<arg name="warning-severity" value="5"/>-->
|
||||
|
||||
<rule ref="PSR2">
|
||||
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" /> <exclude name="Squiz.Commenting.FileComment" />
|
||||
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace" />
|
||||
|
||||
<!--
|
||||
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
|
||||
-->
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
Reference in New Issue
Block a user