coding-standard/config/phpcs-laravel.xml

29 lines
987 B
XML
Raw Normal View History

2022-08-19 22:50:26 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="CCS-L-1">
<description>Crawl Coding Standard for Laravel projects</description>
<rule ref="vendor/crawl/coding-standard/src/rulesets/phpcs-laravel.xml"/>
<rule ref="vendor/crawl/coding-standard/src/rulesets/extras/laravel-exclusions.xml"/>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="app" value="App"/>
<element key="tests" value="Tests"/>
<element key="database" value="Database"/>
<element key="database/seeds" value="Database\Seeds"/>
</property>
</properties>
</rule>
<file>app</file>
<file>bootstrap</file>
<file>config</file>
<file>database</file>
<file>resources</file>
<file>routes</file>
<file>tests</file>
<exclude-pattern>bootstrap/cache</exclude-pattern>
</ruleset>