mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
dev!: namespace Composer dependencies with strauss (#762)
* dev!: namespace Composer dependencies with strauss * chore: include vendor-prefixed when stanning * Strauss configurations properly applied. Contribution docs restored. * Linter and PHPStan compliance met * `platform` removed from `composer.json` * devops: PHP7.3 removed from CI matrix --------- Co-authored-by: Geoff Taylor <geoff@axistaylor.com>
This commit is contained in:
co-authored by
Geoff Taylor
parent
dedecd04de
commit
8690ede673
@@ -78,4 +78,40 @@
|
||||
<property name="text_domain" type="array" value="wp-graphql-woocommerce"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
|
||||
<properties>
|
||||
<property name="blank_line_check" value="true"/>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<!-- Enforce Short array syntax `[]` -->
|
||||
<rule ref="WordPress">
|
||||
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
|
||||
</rule>
|
||||
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
||||
|
||||
<!-- Rules to exclude for test files -->
|
||||
<rule ref="WordPress.NamingConventions">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting">
|
||||
<!-- Allow for inline @var typing -->
|
||||
<exclude name="Generic.Commenting.DocComment.MissingShort" />
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="Squiz.PHP.CommentedOutCode.Found">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="WordPress.Files.FileName">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="WordPress.PHP.DontExtract">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="WordPress.WP.AlternativeFunctions">
|
||||
<exclude-pattern>/tests/</exclude-pattern>
|
||||
</rule>
|
||||
</ruleset>
|
||||
|
||||
Reference in New Issue
Block a user