Skip to content

Commit

Permalink
Remove PHPMD leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 17, 2019
1 parent 506de86 commit 4c60d32
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions src/SAML2/Assertion/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
use SAML2\Signature\Validator;
use SAML2\Utilities\ArrayCollection;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) - due to all the named exceptions
*/
class Processor
{
/**
Expand Down
2 changes: 0 additions & 2 deletions src/SAML2/Assertion/ProcessorBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* Simple Builder that allows to build a new Assertion Processor.
*
* This is an excellent candidate for refactoring towards dependency injection
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
final class ProcessorBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public function transform(Assertion $assertion)
* @param string $value
*
* @return array
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
*/
private function decodeValue(string $value)
{
Expand Down
2 changes: 0 additions & 2 deletions src/SAML2/HTTPArtifact.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*
* @author Danny Bollaert, UGent AS. <danny.bollaert@ugent.be>
* @package SimpleSAMLphp
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
final class HTTPArtifact extends Binding
{
Expand Down
1 change: 0 additions & 1 deletion src/SAML2/HTTPRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public function send(Message $message)
* @return \SAML2\Message The received message.
*
* NPath is currently too high but solving that just moves code around.
* @SuppressWarnings(PHPMD.NPathComplexity)
*/
public function receive()
{
Expand Down
4 changes: 0 additions & 4 deletions src/SAML2/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
*
* Implements what is common between the samlp:RequestAbstractType and
* samlp:StatusResponseType element types.
*
*
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
abstract class Message extends SignedElement
{
Expand Down
3 changes: 0 additions & 3 deletions src/SAML2/Response/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
use SAML2\Response\Validation\PreconditionValidator;
use SAML2\Signature\Validator;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) - due to specific exceptions
*/
final class Processor
{
/**
Expand Down
2 changes: 0 additions & 2 deletions src/SAML2/SOAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ public function getOutputToSend(Message $message)
*
* @param \SAML2\Message $message The message we should send.
* @return void
*
* @SuppressWarnings(PHPMD.ExitExpression)
*/
public function send(Message $message)
{
Expand Down
2 changes: 0 additions & 2 deletions src/SAML2/Utilities/ArrayCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

/**
* Simple Array implementation of Collection.
*
* @SuppressWarnings(PHPMD.TooManyMethods) - it just has a large api.
*/
class ArrayCollection implements Collection
{
Expand Down
2 changes: 0 additions & 2 deletions src/SAML2/XML/md/Extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

/**
* Class for handling SAML2 metadata extensions.
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
* @package SimpleSAMLphp
*/
final class Extensions
Expand Down

0 comments on commit 4c60d32

Please sign in to comment.