File: phpcs.xml.dist

package info (click to toggle)
php-arthurhoaro-web-thumbnailer 2.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 896 kB
  • sloc: php: 3,365; makefile: 19; sh: 9
file content (20 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
         xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/3.6.0/phpcs.xsd">
    <arg name="basepath" value="."/>
    <arg name="cache" value=".phpcs-cache"/>
    <arg name="colors"/>
    <arg name="extensions" value="php"/>

    <rule ref="PSR12" />
    <rule ref="Generic.PHP.RequireStrictTypes.MissingDeclaration" />
    <rule ref="./vendor/gskema/phpcs-type-sniff/src/Sniffs/CompositeCodeElementSniff.php">
        <properties>
            <property name="FqcnMethodSniff.reportMissingTags" value="false"/>
        </properties>
    </rule>

    <file>src</file>
    <file>tests</file>
    <exclude-pattern>*/tests/public/*</exclude-pattern>
</ruleset>