mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
- Add dependency tests - Add tests that check wrong casing in requirements - Clean up current tests - Provides test case for https://github.com/octobercms/october/pull/4337
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="October CMS">
|
|
<description>The coding standard for October CMS.</description>
|
|
<rule ref="PSR2">
|
|
<!--
|
|
Exceptions to the PSR-2 guidelines as per our Developer Guide:
|
|
https://octobercms.com/help/guidelines/developer#psr-exceptions
|
|
-->
|
|
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
|
|
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" />
|
|
<exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace" />
|
|
</rule>
|
|
|
|
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
|
|
<!--
|
|
Migration files and tests do not need a namespace defined
|
|
-->
|
|
<exclude-pattern>*/database/migrations/*\.php</exclude-pattern>
|
|
<exclude-pattern>*/tests/*</exclude-pattern>
|
|
</rule>
|
|
|
|
<file>bootstrap/</file>
|
|
<file>config/</file>
|
|
<file>modules/</file>
|
|
<file>plugins/october/demo/</file>
|
|
<file>tests/</file>
|
|
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
</ruleset>
|