mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
5ab1ff3e69
* Add GraphQL4 compatibility * Add getPageByLink * Blacklist sitetree fields * Remove getByLink from default schema. use linkable plugin * getByLink compatability with new readOne filter anything * Remove return type * Compliance with new modelConfig * Prep for travis * Improvements for versioned-admin compat * BC class guards * New graphql 3 compat * Fix travis syntax error * New backward graphqlphp dependency * Lint, build * New phpcs exclusion * Tidy up travis * Fix rollback mutation * Update code/GraphQL/_legacy/ReadOneResolver.php Co-authored-by: Ingo Schommer <ingo@silverstripe.com> * Address ingo feedback * Deprecated GraphQL v3 classes * Remove deleted branches Co-authored-by: Ingo Schommer <ingo@silverstripe.com> Co-authored-by: Ingo Schommer <me@chillu.com>
19 lines
643 B
XML
19 lines
643 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ruleset name="SilverStripe">
|
|
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>
|
|
|
|
<!-- base rules are PSR-2 -->
|
|
<rule ref="PSR2" >
|
|
<!-- Current exclusions -->
|
|
<exclude name="PSR1.Methods.CamelCapsMethodName" />
|
|
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
|
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
|
|
<exclude name="Generic.Files.LineLength.TooLong" />
|
|
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />
|
|
</rule>
|
|
|
|
<!-- use short array syntax -->
|
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
|
|
</ruleset>
|
|
|