File: .phpcs.xml

Recommend this page to a friend!
  Classes of Faris AL-Otaibi  >  PHP Sanitization Functions  >  .phpcs.xml  >  Download  
File: .phpcs.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sanitization Functions
Verify and clean values to assure they are valid
Author: By
Last change: Updated Code and File Structure
Date: 2 months ago
Size: 713 bytes
 

 

Contents

Class file image Download
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

    <arg name="basepath" value="."/>
    <arg name="cache" value=".build/php_codesniffer/.phpcs-cache"/>
    <arg name="colors"/>
    <arg name="extensions" value="php"/>
    <arg name="parallel" value="75"/>
    
    <!-- Show progress -->
    <arg value="np"/>

    <!-- Paths to check -->
    <file>src</file>

    <!-- Don't hide tokenizer exceptions -->
    <rule ref="Internal.Tokenizer.Exception">
        <type>error</type>
    </rule>

    <!-- Include all rules from the PSR-12 Coding Standard -->
    <rule ref="PSR12"/>
</ruleset>

For more information send a message to info at phpclasses dot org.