PHP Classes

File: .phpcs.xml.dist

Recommend this page to a friend!
  Classes of Axel Pardemann  >  PHP Optional Chaining  >  .phpcs.xml.dist  >  Download  
File: .phpcs.xml.dist
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Optional Chaining
Chain class function calls preventing errors
Author: By
Last change: Update of .phpcs.xml.dist
Date: 2 years ago
Size: 736 bytes
 

Contents

Class file image Download
<?xml version="1.0"?>
<ruleset name="PSR2-Custom">
    <description>PSR2 based ruleset</description>

    <!-- Config -->
    <config name="ignore_errors_on_exit" value ="1" />
    <config name="ignore_warnings_on_exit" value ="1" />

    <!-- Arguments -->
    <!--<arg name="report" value="summary"/>-->

    <!-- Options -->
    <arg name="colors" />
    <arg value="sp" />

    <!-- Base ruleset -->
    <rule ref="PSR2">
        <exclude name="Generic.Files.LineLength"/>
    </rule>
    <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
        <exclude-pattern>./tests/*</exclude-pattern>
    </rule>

    <!-- Custom Rules -->


    <!-- Folders and files -->
    <file>./src</file>
    <file>./tests</file>
</ruleset>
For more information send a message to info at phpclasses dot org.