Skip to content

Commit

Permalink
Fixed PHPCS config
Browse files Browse the repository at this point in the history
  • Loading branch information
UndefinedOffset authored and satrun77 committed Sep 25, 2022
1 parent bbf2511 commit 082133a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 35 deletions.
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

12 changes: 9 additions & 3 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
<ruleset name="SilverStripe">
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>

<!-- base rules are PSR-12 -->
<rule ref="PSR12" >
<file>src</file>
<file>tests</file>

<!-- base rules are PSR-2 -->
<rule ref="PSR2">
<!-- Current exclusions -->
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
<exclude name="PSR1.Methods.CamelCapsMethodName" />
<exclude name="PSR2.Classes.PropertyDeclaration" />
<exclude name="Generic.Files.LineLength.TooLong" />
</rule>
</ruleset>

2 changes: 1 addition & 1 deletion src/Services/SAMLConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SAMLConfiguration
* @var bool Decide if GUID should be exposed as an attribute mappable using `GUID` as the claim. This is a feature
* that is found in other SAML libraries but in an ideal world should not be utilised in favour of the IdP offering
* the nameid data as another "more stable" attribute.
*
*
* Note that this data will be effected by:
* - The expect_binary_nameid configuration value
* - The extension point `updateGuid` on SAMLController
Expand Down

0 comments on commit 082133a

Please sign in to comment.