PHP 8.2.30
Preview: phpcs.xml.dist Size: 1.90 KB
/proc/thread-self/root/home/byroehnu/easetack.com/vendor/moneyphp/money/phpcs.xml.dist

<?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="extensions" value="php"/>
    <arg name="parallel" value="80"/>
    <arg name="colors"/>

    <!-- Ignore warnings and show progress of the run -->
    <arg value="np"/>

    <!-- spec files do not seem to follow reasonable rules around the type system, and therefore should be ignored from CS -->
    <!--<file>./spec</file>-->
    <file>./src</file>
    <file>./static-analysis</file>
    <file>./tests</file>

    <rule ref="Doctrine">
        <!-- some variables and method names are not compliant with CS naming patterns -->
        <exclude name="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
        <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>

        <!-- renaming exceptions in this library is too big of a BC break for no real benefit -->
        <exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix"/>

        <!-- language-level non-strict comparison is (consciously) used in the codebase for performance reasons -->
        <exclude name="SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedEqualOperator"/>
        <exclude name="SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator"/>

        <!-- We do not want trailing commas -->
        <exclude name="SlevomatCodingStandard.Commenting.RequireOneLineDocComment"/>
        <exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall"/>
        <exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/>
        <exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration"/>
        <exclude name="SlevomatCodingStandard.Arrays.TrailingArrayComma"/>
    </rule>
</ruleset>

Directory Contents

Dirs: 2 × Files: 7

Name Size Perms Modified Actions
resources DIR
- drwxrwxrwx 2025-05-16 16:14:44
Edit Download
src DIR
- drwxrwxrwx 2025-05-16 16:14:44
Edit Download
180 B lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
15.09 KB lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
3.41 KB lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
1.16 KB lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
1.90 KB lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
278 B lrw-rw-rw- 2025-04-03 08:26:36
Edit Download
3.84 KB lrw-rw-rw- 2025-04-03 08:26:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).