From c363fd8d10d22856f3a84bf58670b9281716ac66 Mon Sep 17 00:00:00 2001 From: TravisCI Date: Fri, 4 Sep 2015 07:40:13 +0000 Subject: [PATCH] Travis pushed coverage of f19189a99939953d21c37be36cf8cdfbdcdd13e6@master to gh-pages --- master/AbstractServer.php.html | 2 +- master/AuthorizationServer.php.html | 2 +- master/Entity/AbstractTokenEntity.php.html | 2 +- master/Entity/AccessTokenEntity.php.html | 2 +- master/Entity/AuthCodeEntity.php.html | 2 +- master/Entity/ClientEntity.php.html | 2 +- master/Entity/EntityTrait.php.html | 2 +- master/Entity/RefreshTokenEntity.php.html | 2 +- master/Entity/ScopeEntity.php.html | 2 +- master/Entity/SessionEntity.php.html | 2 +- master/Entity/dashboard.html | 2 +- master/Entity/index.html | 2 +- .../ClientAuthenticationFailedEvent.php.html | 2 +- master/Event/SessionOwnerEvent.php.html | 2 +- .../UserAuthenticationFailedEvent.php.html | 2 +- master/Event/dashboard.html | 2 +- master/Event/index.html | 2 +- .../Exception/AccessDeniedException.php.html | 2 +- .../Exception/InvalidClientException.php.html | 2 +- .../InvalidCredentialsException.php.html | 2 +- .../Exception/InvalidGrantException.php.html | 25 +- .../InvalidRefreshException.php.html | 2 +- .../InvalidRequestException.php.html | 29 +- .../Exception/InvalidScopeException.php.html | 29 +- master/Exception/OAuthException.php.html | 292 ++++++++++-------- .../Exception/ServerErrorException.php.html | 18 +- .../UnauthorizedClientException.php.html | 2 +- .../UnsupportedGrantTypeException.php.html | 25 +- .../UnsupportedResponseTypeException.php.html | 17 +- master/Exception/dashboard.html | 11 +- master/Exception/index.html | 66 ++-- master/Grant/AbstractGrant.php.html | 2 +- master/Grant/AuthCodeGrant.php.html | 2 +- master/Grant/ClientCredentialsGrant.php.html | 2 +- master/Grant/GrantTypeInterface.php.html | 2 +- master/Grant/PasswordGrant.php.html | 2 +- master/Grant/RefreshTokenGrant.php.html | 2 +- master/Grant/dashboard.html | 2 +- master/Grant/index.html | 2 +- master/ResourceServer.php.html | 2 +- master/Storage/AbstractStorage.php.html | 2 +- master/Storage/AccessTokenInterface.php.html | 2 +- master/Storage/AuthCodeInterface.php.html | 2 +- master/Storage/ClientInterface.php.html | 2 +- master/Storage/MacTokenInterface.php.html | 2 +- master/Storage/RefreshTokenInterface.php.html | 2 +- master/Storage/ScopeInterface.php.html | 2 +- master/Storage/SessionInterface.php.html | 2 +- master/Storage/StorageInterface.php.html | 2 +- master/Storage/dashboard.html | 2 +- master/Storage/index.html | 2 +- master/TokenType/AbstractTokenType.php.html | 2 +- master/TokenType/Bearer.php.html | 2 +- master/TokenType/MAC.php.html | 2 +- master/TokenType/TokenTypeInterface.php.html | 2 +- master/TokenType/dashboard.html | 2 +- master/TokenType/index.html | 2 +- .../KeyAlgorithm/DefaultAlgorithm.php.html | 2 +- .../KeyAlgorithmInterface.php.html | 2 +- master/Util/KeyAlgorithm/dashboard.html | 2 +- master/Util/KeyAlgorithm/index.html | 2 +- master/Util/RedirectUri.php.html | 2 +- master/Util/SecureKey.php.html | 2 +- master/Util/dashboard.html | 2 +- master/Util/index.html | 2 +- master/dashboard.html | 13 +- master/index.html | 50 +-- 67 files changed, 366 insertions(+), 321 deletions(-) diff --git a/master/AbstractServer.php.html b/master/AbstractServer.php.html index 2eeb87a6..a70f7ce5 100644 --- a/master/AbstractServer.php.html +++ b/master/AbstractServer.php.html @@ -934,7 +934,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/AuthorizationServer.php.html b/master/AuthorizationServer.php.html index 9c752da7..a31a6956 100644 --- a/master/AuthorizationServer.php.html +++ b/master/AuthorizationServer.php.html @@ -746,7 +746,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/AbstractTokenEntity.php.html b/master/Entity/AbstractTokenEntity.php.html index a84650e2..7539f876 100644 --- a/master/Entity/AbstractTokenEntity.php.html +++ b/master/Entity/AbstractTokenEntity.php.html @@ -567,7 +567,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/AccessTokenEntity.php.html b/master/Entity/AccessTokenEntity.php.html index ed6c390c..8a1c81d7 100644 --- a/master/Entity/AccessTokenEntity.php.html +++ b/master/Entity/AccessTokenEntity.php.html @@ -314,7 +314,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/AuthCodeEntity.php.html b/master/Entity/AuthCodeEntity.php.html index 5dbee3c2..c92baa87 100644 --- a/master/Entity/AuthCodeEntity.php.html +++ b/master/Entity/AuthCodeEntity.php.html @@ -391,7 +391,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/ClientEntity.php.html b/master/Entity/ClientEntity.php.html index c87d4154..2e97517d 100644 --- a/master/Entity/ClientEntity.php.html +++ b/master/Entity/ClientEntity.php.html @@ -332,7 +332,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/EntityTrait.php.html b/master/Entity/EntityTrait.php.html index dcde27fe..42867862 100644 --- a/master/Entity/EntityTrait.php.html +++ b/master/Entity/EntityTrait.php.html @@ -170,7 +170,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/RefreshTokenEntity.php.html b/master/Entity/RefreshTokenEntity.php.html index e8b07c09..8c2ca0ae 100644 --- a/master/Entity/RefreshTokenEntity.php.html +++ b/master/Entity/RefreshTokenEntity.php.html @@ -315,7 +315,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/ScopeEntity.php.html b/master/Entity/ScopeEntity.php.html index 4187237f..ab37ad6c 100644 --- a/master/Entity/ScopeEntity.php.html +++ b/master/Entity/ScopeEntity.php.html @@ -290,7 +290,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/SessionEntity.php.html b/master/Entity/SessionEntity.php.html index 121e2261..8a4211c1 100644 --- a/master/Entity/SessionEntity.php.html +++ b/master/Entity/SessionEntity.php.html @@ -739,7 +739,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Entity/dashboard.html b/master/Entity/dashboard.html index a4925c28..59a243a2 100644 --- a/master/Entity/dashboard.html +++ b/master/Entity/dashboard.html @@ -143,7 +143,7 @@ diff --git a/master/Entity/index.html b/master/Entity/index.html index b8acfb60..21a22692 100644 --- a/master/Entity/index.html +++ b/master/Entity/index.html @@ -305,7 +305,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Event/ClientAuthenticationFailedEvent.php.html b/master/Event/ClientAuthenticationFailedEvent.php.html index be7af738..f2d109c6 100644 --- a/master/Event/ClientAuthenticationFailedEvent.php.html +++ b/master/Event/ClientAuthenticationFailedEvent.php.html @@ -234,7 +234,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Event/SessionOwnerEvent.php.html b/master/Event/SessionOwnerEvent.php.html index b44763c9..854707f6 100644 --- a/master/Event/SessionOwnerEvent.php.html +++ b/master/Event/SessionOwnerEvent.php.html @@ -234,7 +234,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Event/UserAuthenticationFailedEvent.php.html b/master/Event/UserAuthenticationFailedEvent.php.html index 7f58d5ce..dcdf404b 100644 --- a/master/Event/UserAuthenticationFailedEvent.php.html +++ b/master/Event/UserAuthenticationFailedEvent.php.html @@ -234,7 +234,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Event/dashboard.html b/master/Event/dashboard.html index 83b6a9a0..fb9f9f8f 100644 --- a/master/Event/dashboard.html +++ b/master/Event/dashboard.html @@ -141,7 +141,7 @@ diff --git a/master/Event/index.html b/master/Event/index.html index 42e2c9ac..46aaf20b 100644 --- a/master/Event/index.html +++ b/master/Event/index.html @@ -165,7 +165,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/AccessDeniedException.php.html b/master/Exception/AccessDeniedException.php.html index d343a4dc..0ba745a0 100644 --- a/master/Exception/AccessDeniedException.php.html +++ b/master/Exception/AccessDeniedException.php.html @@ -173,7 +173,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidClientException.php.html b/master/Exception/InvalidClientException.php.html index 90dd3a42..cc528a70 100644 --- a/master/Exception/InvalidClientException.php.html +++ b/master/Exception/InvalidClientException.php.html @@ -173,7 +173,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidCredentialsException.php.html b/master/Exception/InvalidCredentialsException.php.html index 323d5059..bf0955ec 100644 --- a/master/Exception/InvalidCredentialsException.php.html +++ b/master/Exception/InvalidCredentialsException.php.html @@ -173,7 +173,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidGrantException.php.html b/master/Exception/InvalidGrantException.php.html index 8c6d3e6f..dacfe744 100644 --- a/master/Exception/InvalidGrantException.php.html +++ b/master/Exception/InvalidGrantException.php.html @@ -67,7 +67,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -96,7 +96,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -117,7 +117,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -159,14 +159,15 @@
32
33
    public function __construct($parameter)
34
    { -
35
        parent::__construct( -
36
            sprintf( -
37
                'The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. Check the "%s" parameter.', -
38
                $parameter -
39
            ) -
40
        ); -
41
    } -
42
} +
35
        $this->parameter = $parameter; +
36
        parent::__construct( +
37
            sprintf( +
38
                'The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. Check the "%s" parameter.', +
39
                $parameter +
40
            ) +
41
        ); +
42
    } +
43
} @@ -179,7 +180,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidRefreshException.php.html b/master/Exception/InvalidRefreshException.php.html index daf85b6d..a32ba9be 100644 --- a/master/Exception/InvalidRefreshException.php.html +++ b/master/Exception/InvalidRefreshException.php.html @@ -173,7 +173,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidRequestException.php.html b/master/Exception/InvalidRequestException.php.html index 20ae8b36..08d69846 100644 --- a/master/Exception/InvalidRequestException.php.html +++ b/master/Exception/InvalidRequestException.php.html @@ -67,7 +67,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -96,7 +96,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -117,7 +117,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -159,16 +159,17 @@
32
33
    public function __construct($parameter, $redirectUri = null)
34
    { -
35
        parent::__construct( -
36
            sprintf( -
37
                'The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "%s" parameter.', -
38
                $parameter -
39
            ) -
40
        ); -
41
-
42
        $this->redirectUri = $redirectUri; -
43
    } -
44
} +
35
        $this->parameter = $parameter; +
36
        parent::__construct( +
37
            sprintf( +
38
                'The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "%s" parameter.', +
39
                $parameter +
40
            ) +
41
        ); +
42
+
43
        $this->redirectUri = $redirectUri; +
44
    } +
45
} @@ -181,7 +182,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/InvalidScopeException.php.html b/master/Exception/InvalidScopeException.php.html index 566f6a6d..ee4b364d 100644 --- a/master/Exception/InvalidScopeException.php.html +++ b/master/Exception/InvalidScopeException.php.html @@ -67,7 +67,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -96,7 +96,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -117,7 +117,7 @@
100.00%
-
7 / 7
+
8 / 8
@@ -159,16 +159,17 @@
32
33
    public function __construct($parameter, $redirectUri = null)
34
    { -
35
        parent::__construct( -
36
            sprintf( -
37
                'The requested scope is invalid, unknown, or malformed. Check the "%s" scope.', -
38
                $parameter -
39
            ) -
40
        ); -
41
-
42
        $this->redirectUri = $redirectUri; -
43
    } -
44
} +
35
        $this->parameter = $parameter; +
36
        parent::__construct( +
37
            sprintf( +
38
                'The requested scope is invalid, unknown, or malformed. Check the "%s" scope.', +
39
                $parameter +
40
            ) +
41
        ); +
42
+
43
        $this->redirectUri = $redirectUri; +
44
    } +
45
} @@ -181,7 +182,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/OAuthException.php.html b/master/Exception/OAuthException.php.html index 59c16129..53007965 100644 --- a/master/Exception/OAuthException.php.html +++ b/master/Exception/OAuthException.php.html @@ -42,65 +42,65 @@ - Total -
-
- 100.00% covered (success) + Total +
+
+ 0.00% covered (danger)
-
100.00%
-
1 / 1
-
-
- 100.00% covered (success) +
0.00%
+
0 / 1
+
+
+ 80.00% covered (warning)
-
100.00%
-
4 / 4
- CRAP +
80.00%
+
4 / 5
+ CRAP
-
- 100.00% covered (success) +
+ 96.15% covered (success)
-
100.00%
-
25 / 25
+
96.15%
+
25 / 26
- OAuthException -
-
- 100.00% covered (success) + OAuthException +
+
+ 0.00% covered (danger)
-
100.00%
-
1 / 1
-
-
- 100.00% covered (success) +
0.00%
+
0 / 1
+
+
+ 80.00% covered (warning)
-
100.00%
-
4 / 4
- 15 +
80.00%
+
4 / 5
+ 16
-
- 100.00% covered (success) +
+ 96.15% covered (success)
-
100.00%
-
25 / 25
+
96.15%
+
25 / 26
-  __construct +  __construct
100.00% covered (success) @@ -121,7 +121,7 @@ -  shouldRedirect +  shouldRedirect
100.00% covered (success) @@ -142,7 +142,7 @@ -  getRedirectUri +  getRedirectUri
100.00% covered (success) @@ -163,7 +163,28 @@ -  getHttpHeaders +  getParameter +
+
+ 0.00% covered (danger) +
+
+ +
0.00%
+
0 / 1
+ 2 +
+
+ 0.00% covered (danger) +
+
+ +
0.00%
+
0 / 1
+ + + +  getHttpHeaders
100.00% covered (success) @@ -227,97 +248,112 @@     public $errorType = '';     /** -      * Throw a new exception -      * -      * @param string $msg Exception Message -      */ -     public function __construct($msg = 'An error occured') -     { -         parent::__construct($msg); -     } - -     /** -      * Should the server redirect back to the client? -      * -      * @return bool -      */ -     public function shouldRedirect() -     { -         return is_null($this->redirectUri) ? false : true; -     } - -     /** -      * Return redirect URI if set -      * -      * @return string|null -      */ -     public function getRedirectUri() -     { -         return RedirectUri::make( -             $this->redirectUri, -             [ -                 'error' =>  $this->errorType, -                 'message' =>  $this->getMessage(), -             ] -         ); -     } - -     /** -      * Get all headers that have to be send with the error response -      * -      * @return array Array with header values -      */ -     public function getHttpHeaders() -     { -         $headers = []; -         switch ($this->httpStatusCode) { -             case 401: -                 $headers[] = 'HTTP/1.1 401 Unauthorized'; -                 break; -             case 500: -                 $headers[] = 'HTTP/1.1 500 Internal Server Error'; -                 break; -             case 501: -                 $headers[] = 'HTTP/1.1 501 Not Implemented'; -                 break; -             case 400: -             default: -                 $headers[] = 'HTTP/1.1 400 Bad Request'; -                 break; -         } - -         // Add "WWW-Authenticate" header -         // -         // RFC 6749, section 5.2.: -         // "If the client attempted to authenticate via the 'Authorization' -         // request header field, the authorization server MUST -         // respond with an HTTP 401 (Unauthorized) status code and -         // include the "WWW-Authenticate" response header field -         // matching the authentication scheme used by the client. -         // @codeCoverageIgnoreStart -         if ($this->errorType === 'invalid_client') { -             $authScheme = null; -             $request = new Request(); -             if ($request->getUser() !== null) { -                 $authScheme = 'Basic'; -             } else { -                 $authHeader = $request->headers->get('Authorization'); -                 if ($authHeader !== null) { -                     if (strpos($authHeader, 'Bearer') === 0) { -                         $authScheme = 'Bearer'; -                     } elseif (strpos($authHeader, 'Basic') === 0) { -                         $authScheme = 'Basic'; -                     } -                 } -             } -             if ($authScheme !== null) { -                 $headers[] = 'WWW-Authenticate: '.$authScheme.' realm=""'; -             } -         } -         // @codeCoverageIgnoreEnd -         return $headers; -     } - } +      * Parameter eventually passed to Exception +      */ +     public $parameter = ''; + +     /** +      * Throw a new exception +      * +      * @param string $msg Exception Message +      */ +     public function __construct($msg = 'An error occured') +     { +         parent::__construct($msg); +     } + +     /** +      * Should the server redirect back to the client? +      * +      * @return bool +      */ +     public function shouldRedirect() +     { +         return is_null($this->redirectUri) ? false : true; +     } + +     /** +      * Return redirect URI if set +      * +      * @return string|null +      */ +     public function getRedirectUri() +     { +         return RedirectUri::make( +             $this->redirectUri, +             [ +                 'error' =>  $this->errorType, +                 'message' =>  $this->getMessage(), +             ] +         ); +     } + +     /** +      * Return parameter if set +      * +      * @return string +      */ +     public function getParameter() +     { +         return $this->parameter; +     } + +     /** +      * Get all headers that have to be send with the error response +      * +      * @return array Array with header values +      */ +     public function getHttpHeaders() +     { +         $headers = []; +         switch ($this->httpStatusCode) { +             case 401: +                 $headers[] = 'HTTP/1.1 401 Unauthorized'; +                 break; +             case 500: +                 $headers[] = 'HTTP/1.1 500 Internal Server Error'; +                 break; +             case 501: +                 $headers[] = 'HTTP/1.1 501 Not Implemented'; +                 break; +             case 400: +             default: +                 $headers[] = 'HTTP/1.1 400 Bad Request'; +                 break; +         } + +         // Add "WWW-Authenticate" header +         // +         // RFC 6749, section 5.2.: +         // "If the client attempted to authenticate via the 'Authorization' +         // request header field, the authorization server MUST +         // respond with an HTTP 401 (Unauthorized) status code and +         // include the "WWW-Authenticate" response header field +         // matching the authentication scheme used by the client. +         // @codeCoverageIgnoreStart +         if ($this->errorType === 'invalid_client') { +             $authScheme = null; +             $request = new Request(); +             if ($request->getUser() !== null) { +                 $authScheme = 'Basic'; +             } else { +                 $authHeader = $request->headers->get('Authorization'); +                 if ($authHeader !== null) { +                     if (strpos($authHeader, 'Bearer') === 0) { +                         $authScheme = 'Bearer'; +                     } elseif (strpos($authHeader, 'Basic') === 0) { +                         $authScheme = 'Basic'; +                     } +                 } +             } +             if ($authScheme !== null) { +                 $headers[] = 'WWW-Authenticate: '.$authScheme.' realm=""'; +             } +         } +         // @codeCoverageIgnoreEnd +         return $headers; +     } + } @@ -330,7 +366,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/ServerErrorException.php.html b/master/Exception/ServerErrorException.php.html index a29e2418..206be515 100644 --- a/master/Exception/ServerErrorException.php.html +++ b/master/Exception/ServerErrorException.php.html @@ -67,7 +67,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -96,7 +96,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -117,7 +117,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -158,10 +158,12 @@      */     public function __construct($parameter = null)     { -         $parameter = is_null($parameter) ? 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.' : $parameter; -         parent::__construct($parameter); -     } - } +         $this->parameter = $parameter; +         $parameter = is_null($parameter) ? 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.' : $parameter; +         parent::__construct($parameter); + +     } + } @@ -174,7 +176,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/UnauthorizedClientException.php.html b/master/Exception/UnauthorizedClientException.php.html index 97726f6d..d271b044 100644 --- a/master/Exception/UnauthorizedClientException.php.html +++ b/master/Exception/UnauthorizedClientException.php.html @@ -173,7 +173,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/UnsupportedGrantTypeException.php.html b/master/Exception/UnsupportedGrantTypeException.php.html index 8bf2e2d8..b0673232 100644 --- a/master/Exception/UnsupportedGrantTypeException.php.html +++ b/master/Exception/UnsupportedGrantTypeException.php.html @@ -67,7 +67,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -96,7 +96,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -117,7 +117,7 @@
100.00%
-
6 / 6
+
7 / 7
@@ -159,14 +159,15 @@     public function __construct($parameter)     { -         parent::__construct( -             sprintf( -                 'The authorization grant type "%s" is not supported by the authorization server.', -                 $parameter -             ) -         ); -     } - } +         $this->parameter = $parameter; +         parent::__construct( +             sprintf( +                 'The authorization grant type "%s" is not supported by the authorization server.', +                 $parameter +             ) +         ); +     } + } @@ -179,7 +180,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/UnsupportedResponseTypeException.php.html b/master/Exception/UnsupportedResponseTypeException.php.html index 0a591971..4e2b43ae 100644 --- a/master/Exception/UnsupportedResponseTypeException.php.html +++ b/master/Exception/UnsupportedResponseTypeException.php.html @@ -67,7 +67,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -96,7 +96,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -117,7 +117,7 @@
100.00%
-
3 / 3
+
4 / 4
@@ -158,10 +158,11 @@      */     public function __construct($parameter, $redirectUri = null)     { -         parent::__construct('The authorization server does not support obtaining an access token using this method.'); -         $this->redirectUri = $redirectUri; -     } - } +         $this->parameter = $parameter; +         parent::__construct('The authorization server does not support obtaining an access token using this method.'); +         $this->redirectUri = $redirectUri; +     } + } @@ -174,7 +175,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Exception/dashboard.html b/master/Exception/dashboard.html index 83a736a1..7d803949 100644 --- a/master/Exception/dashboard.html +++ b/master/Exception/dashboard.html @@ -112,6 +112,7 @@ + getParameter0% @@ -137,7 +138,7 @@
@@ -158,7 +159,7 @@ $(document).ready(function() { .yAxis.tickFormat(d3.format('d')); d3.select('#classCoverageDistribution svg') - .datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,0,0,0,12], "Class Coverage")) + .datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,0,0,1,11], "Class Coverage")) .transition().duration(500).call(chart); nv.utils.windowResize(chart.update); @@ -176,7 +177,7 @@ $(document).ready(function() { .yAxis.tickFormat(d3.format('d')); d3.select('#methodCoverageDistribution svg') - .datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,0,0,0,15], "Method Coverage")) + .datum(getCoverageDistributionData([1,0,0,0,0,0,0,0,0,0,0,15], "Method Coverage")) .transition().duration(500).call(chart); nv.utils.windowResize(chart.update); @@ -226,7 +227,7 @@ $(document).ready(function() { chart.yAxis.axisLabel('Cyclomatic Complexity'); d3.select('#classComplexity svg') - .datum(getComplexityData([[100,1,"AccessDeniedException<\/a>"],[100,1,"InvalidClientException<\/a>"],[100,1,"InvalidCredentialsException<\/a>"],[100,1,"InvalidGrantException<\/a>"],[100,1,"InvalidRefreshException<\/a>"],[100,1,"InvalidRequestException<\/a>"],[100,1,"InvalidScopeException<\/a>"],[100,15,"OAuthException<\/a>"],[100,2,"ServerErrorException<\/a>"],[100,1,"UnauthorizedClientException<\/a>"],[100,1,"UnsupportedGrantTypeException<\/a>"],[100,1,"UnsupportedResponseTypeException<\/a>"]], 'Class Complexity')) + .datum(getComplexityData([[100,1,"AccessDeniedException<\/a>"],[100,1,"InvalidClientException<\/a>"],[100,1,"InvalidCredentialsException<\/a>"],[100,1,"InvalidGrantException<\/a>"],[100,1,"InvalidRefreshException<\/a>"],[100,1,"InvalidRequestException<\/a>"],[100,1,"InvalidScopeException<\/a>"],[96.153846153846,16,"OAuthException<\/a>"],[100,2,"ServerErrorException<\/a>"],[100,1,"UnauthorizedClientException<\/a>"],[100,1,"UnsupportedGrantTypeException<\/a>"],[100,1,"UnsupportedResponseTypeException<\/a>"]], 'Class Complexity')) .transition() .duration(500) .call(chart); @@ -250,7 +251,7 @@ $(document).ready(function() { chart.yAxis.axisLabel('Method Complexity'); d3.select('#methodComplexity svg') - .datum(getComplexityData([[100,1,"AccessDeniedException::__construct<\/a>"],[100,1,"InvalidClientException::__construct<\/a>"],[100,1,"InvalidCredentialsException::__construct<\/a>"],[100,1,"InvalidGrantException::__construct<\/a>"],[100,1,"InvalidRefreshException::__construct<\/a>"],[100,1,"InvalidRequestException::__construct<\/a>"],[100,1,"InvalidScopeException::__construct<\/a>"],[100,1,"OAuthException::__construct<\/a>"],[100,2,"OAuthException::shouldRedirect<\/a>"],[100,1,"OAuthException::getRedirectUri<\/a>"],[100,11,"OAuthException::getHttpHeaders<\/a>"],[100,2,"ServerErrorException::__construct<\/a>"],[100,1,"UnauthorizedClientException::__construct<\/a>"],[100,1,"UnsupportedGrantTypeException::__construct<\/a>"],[100,1,"UnsupportedResponseTypeException::__construct<\/a>"]], 'Method Complexity')) + .datum(getComplexityData([[100,1,"AccessDeniedException::__construct<\/a>"],[100,1,"InvalidClientException::__construct<\/a>"],[100,1,"InvalidCredentialsException::__construct<\/a>"],[100,1,"InvalidGrantException::__construct<\/a>"],[100,1,"InvalidRefreshException::__construct<\/a>"],[100,1,"InvalidRequestException::__construct<\/a>"],[100,1,"InvalidScopeException::__construct<\/a>"],[100,1,"OAuthException::__construct<\/a>"],[100,2,"OAuthException::shouldRedirect<\/a>"],[100,1,"OAuthException::getRedirectUri<\/a>"],[0,1,"OAuthException::getParameter<\/a>"],[100,11,"OAuthException::getHttpHeaders<\/a>"],[100,2,"ServerErrorException::__construct<\/a>"],[100,1,"UnauthorizedClientException::__construct<\/a>"],[100,1,"UnsupportedGrantTypeException::__construct<\/a>"],[100,1,"UnsupportedResponseTypeException::__construct<\/a>"]], 'Method Complexity')) .transition() .duration(500) .call(chart); diff --git a/master/Exception/index.html b/master/Exception/index.html index 2d2c217a..41aab71f 100644 --- a/master/Exception/index.html +++ b/master/Exception/index.html @@ -44,29 +44,29 @@ Total
-
- 100.00% covered (success) +
+ 98.65% covered (success)
-
100.00%
-
67 / 67
+
98.65%
+
73 / 74
-
- 100.00% covered (success) +
+ 93.75% covered (success)
-
100.00%
-
15 / 15
+
93.75%
+
15 / 16
-
- 100.00% covered (success) +
+ 91.67% covered (success)
-
100.00%
-
12 / 12
+
91.67%
+
11 / 12
@@ -162,7 +162,7 @@
100.00%
-
6 / 6
+
7 / 7
100.00% covered (success) @@ -218,7 +218,7 @@
100.00%
-
7 / 7
+
8 / 8
100.00% covered (success) @@ -246,7 +246,7 @@
100.00%
-
7 / 7
+
8 / 8
100.00% covered (success) @@ -268,29 +268,29 @@ OAuthException.php
-
- 100.00% covered (success) +
+ 96.15% covered (success)
-
100.00%
-
25 / 25
-
-
- 100.00% covered (success) +
96.15%
+
25 / 26
+
+
+ 80.00% covered (warning)
-
100.00%
-
4 / 4
-
-
- 100.00% covered (success) +
80.00%
+
4 / 5
+
+
+ 0.00% covered (danger)
-
100.00%
-
1 / 1
+
0.00%
+
0 / 1
@@ -302,7 +302,7 @@
100.00%
-
3 / 3
+
4 / 4
100.00% covered (success) @@ -358,7 +358,7 @@
100.00%
-
6 / 6
+
7 / 7
100.00% covered (success) @@ -386,7 +386,7 @@
100.00%
-
3 / 3
+
4 / 4
100.00% covered (success) @@ -417,7 +417,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/AbstractGrant.php.html b/master/Grant/AbstractGrant.php.html index cf458c5d..a9032d94 100644 --- a/master/Grant/AbstractGrant.php.html +++ b/master/Grant/AbstractGrant.php.html @@ -481,7 +481,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/AuthCodeGrant.php.html b/master/Grant/AuthCodeGrant.php.html index 89192d33..35101fc4 100644 --- a/master/Grant/AuthCodeGrant.php.html +++ b/master/Grant/AuthCodeGrant.php.html @@ -545,7 +545,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/ClientCredentialsGrant.php.html b/master/Grant/ClientCredentialsGrant.php.html index 1b3f1369..3ec1ae85 100644 --- a/master/Grant/ClientCredentialsGrant.php.html +++ b/master/Grant/ClientCredentialsGrant.php.html @@ -259,7 +259,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/GrantTypeInterface.php.html b/master/Grant/GrantTypeInterface.php.html index 7897b197..ed83465a 100644 --- a/master/Grant/GrantTypeInterface.php.html +++ b/master/Grant/GrantTypeInterface.php.html @@ -131,7 +131,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/PasswordGrant.php.html b/master/Grant/PasswordGrant.php.html index 4ffb5ebd..3d76327a 100644 --- a/master/Grant/PasswordGrant.php.html +++ b/master/Grant/PasswordGrant.php.html @@ -361,7 +361,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/RefreshTokenGrant.php.html b/master/Grant/RefreshTokenGrant.php.html index 4ebfa189..69ed9a97 100644 --- a/master/Grant/RefreshTokenGrant.php.html +++ b/master/Grant/RefreshTokenGrant.php.html @@ -486,7 +486,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Grant/dashboard.html b/master/Grant/dashboard.html index df4d85d2..15e5dbc1 100644 --- a/master/Grant/dashboard.html +++ b/master/Grant/dashboard.html @@ -138,7 +138,7 @@
diff --git a/master/Grant/index.html b/master/Grant/index.html index 43609107..bc816c3d 100644 --- a/master/Grant/index.html +++ b/master/Grant/index.html @@ -234,7 +234,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/ResourceServer.php.html b/master/ResourceServer.php.html index cd0145b7..4f18e90b 100644 --- a/master/ResourceServer.php.html +++ b/master/ResourceServer.php.html @@ -380,7 +380,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/AbstractStorage.php.html b/master/Storage/AbstractStorage.php.html index 074bdd3c..9465a578 100644 --- a/master/Storage/AbstractStorage.php.html +++ b/master/Storage/AbstractStorage.php.html @@ -209,7 +209,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/AccessTokenInterface.php.html b/master/Storage/AccessTokenInterface.php.html index ec39fcb9..ec2c235b 100644 --- a/master/Storage/AccessTokenInterface.php.html +++ b/master/Storage/AccessTokenInterface.php.html @@ -141,7 +141,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/AuthCodeInterface.php.html b/master/Storage/AuthCodeInterface.php.html index 0846bdda..2940e1eb 100644 --- a/master/Storage/AuthCodeInterface.php.html +++ b/master/Storage/AuthCodeInterface.php.html @@ -142,7 +142,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/ClientInterface.php.html b/master/Storage/ClientInterface.php.html index 2c4d2f8c..ae766811 100644 --- a/master/Storage/ClientInterface.php.html +++ b/master/Storage/ClientInterface.php.html @@ -113,7 +113,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/MacTokenInterface.php.html b/master/Storage/MacTokenInterface.php.html index dbd2d1b7..ebbb29fd 100644 --- a/master/Storage/MacTokenInterface.php.html +++ b/master/Storage/MacTokenInterface.php.html @@ -106,7 +106,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/RefreshTokenInterface.php.html b/master/Storage/RefreshTokenInterface.php.html index a7a43064..faedc668 100644 --- a/master/Storage/RefreshTokenInterface.php.html +++ b/master/Storage/RefreshTokenInterface.php.html @@ -121,7 +121,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/ScopeInterface.php.html b/master/Storage/ScopeInterface.php.html index 4e61079d..1ff44daf 100644 --- a/master/Storage/ScopeInterface.php.html +++ b/master/Storage/ScopeInterface.php.html @@ -101,7 +101,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/SessionInterface.php.html b/master/Storage/SessionInterface.php.html index 3ae8f22c..c0e74803 100644 --- a/master/Storage/SessionInterface.php.html +++ b/master/Storage/SessionInterface.php.html @@ -144,7 +144,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/StorageInterface.php.html b/master/Storage/StorageInterface.php.html index a7333b33..25d11ac8 100644 --- a/master/Storage/StorageInterface.php.html +++ b/master/Storage/StorageInterface.php.html @@ -99,7 +99,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Storage/dashboard.html b/master/Storage/dashboard.html index 956b2241..04e893a4 100644 --- a/master/Storage/dashboard.html +++ b/master/Storage/dashboard.html @@ -137,7 +137,7 @@
diff --git a/master/Storage/index.html b/master/Storage/index.html index e80cad34..c307d4b0 100644 --- a/master/Storage/index.html +++ b/master/Storage/index.html @@ -213,7 +213,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/TokenType/AbstractTokenType.php.html b/master/TokenType/AbstractTokenType.php.html index ff6aa04a..dddb2436 100644 --- a/master/TokenType/AbstractTokenType.php.html +++ b/master/TokenType/AbstractTokenType.php.html @@ -275,7 +275,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/TokenType/Bearer.php.html b/master/TokenType/Bearer.php.html index 90ca190e..031324f1 100644 --- a/master/TokenType/Bearer.php.html +++ b/master/TokenType/Bearer.php.html @@ -211,7 +211,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/TokenType/MAC.php.html b/master/TokenType/MAC.php.html index bd8d9f09..4d817fc6 100644 --- a/master/TokenType/MAC.php.html +++ b/master/TokenType/MAC.php.html @@ -356,7 +356,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/TokenType/TokenTypeInterface.php.html b/master/TokenType/TokenTypeInterface.php.html index 9aa857a1..5f3a7d99 100644 --- a/master/TokenType/TokenTypeInterface.php.html +++ b/master/TokenType/TokenTypeInterface.php.html @@ -140,7 +140,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/TokenType/dashboard.html b/master/TokenType/dashboard.html index 8d57669b..015357ee 100644 --- a/master/TokenType/dashboard.html +++ b/master/TokenType/dashboard.html @@ -143,7 +143,7 @@
diff --git a/master/TokenType/index.html b/master/TokenType/index.html index 951e3995..a32d9b2b 100644 --- a/master/TokenType/index.html +++ b/master/TokenType/index.html @@ -178,7 +178,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/KeyAlgorithm/DefaultAlgorithm.php.html b/master/Util/KeyAlgorithm/DefaultAlgorithm.php.html index 60fba8d0..1456a81d 100644 --- a/master/Util/KeyAlgorithm/DefaultAlgorithm.php.html +++ b/master/Util/KeyAlgorithm/DefaultAlgorithm.php.html @@ -174,7 +174,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/KeyAlgorithm/KeyAlgorithmInterface.php.html b/master/Util/KeyAlgorithm/KeyAlgorithmInterface.php.html index e797bf7c..fe052c74 100644 --- a/master/Util/KeyAlgorithm/KeyAlgorithmInterface.php.html +++ b/master/Util/KeyAlgorithm/KeyAlgorithmInterface.php.html @@ -97,7 +97,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/KeyAlgorithm/dashboard.html b/master/Util/KeyAlgorithm/dashboard.html index 4d514090..76801038 100644 --- a/master/Util/KeyAlgorithm/dashboard.html +++ b/master/Util/KeyAlgorithm/dashboard.html @@ -138,7 +138,7 @@
diff --git a/master/Util/KeyAlgorithm/index.html b/master/Util/KeyAlgorithm/index.html index c3937c92..33767e64 100644 --- a/master/Util/KeyAlgorithm/index.html +++ b/master/Util/KeyAlgorithm/index.html @@ -123,7 +123,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/RedirectUri.php.html b/master/Util/RedirectUri.php.html index d573423e..f91f1ca6 100644 --- a/master/Util/RedirectUri.php.html +++ b/master/Util/RedirectUri.php.html @@ -171,7 +171,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/SecureKey.php.html b/master/Util/SecureKey.php.html index 69e1a2bd..3a916d14 100644 --- a/master/Util/SecureKey.php.html +++ b/master/Util/SecureKey.php.html @@ -234,7 +234,7 @@ Dead Code

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/Util/dashboard.html b/master/Util/dashboard.html index 88fe137b..cc575d6e 100644 --- a/master/Util/dashboard.html +++ b/master/Util/dashboard.html @@ -137,7 +137,7 @@
diff --git a/master/Util/index.html b/master/Util/index.html index 6f585dc5..0f2bd1e2 100644 --- a/master/Util/index.html +++ b/master/Util/index.html @@ -165,7 +165,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.

diff --git a/master/dashboard.html b/master/dashboard.html index 3cd8feee..24b3ab86 100644 --- a/master/dashboard.html +++ b/master/dashboard.html @@ -118,8 +118,9 @@ setRequireClientSecret0% - getRequest0% + getParameter0% getRequest0% + getRequest0% hasScope0% determineAccessTokenInHeader66% generateResponse83% @@ -153,7 +154,7 @@
@@ -174,7 +175,7 @@ $(document).ready(function() { .yAxis.tickFormat(d3.format('d')); d3.select('#classCoverageDistribution svg') - .datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,2,2,3,31], "Class Coverage")) + .datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,2,2,4,30], "Class Coverage")) .transition().duration(500).call(chart); nv.utils.windowResize(chart.update); @@ -192,7 +193,7 @@ $(document).ready(function() { .yAxis.tickFormat(d3.format('d')); d3.select('#methodCoverageDistribution svg') - .datum(getCoverageDistributionData([4,0,0,0,0,0,0,1,0,2,1,155], "Method Coverage")) + .datum(getCoverageDistributionData([5,0,0,0,0,0,0,1,0,2,1,155], "Method Coverage")) .transition().duration(500).call(chart); nv.utils.windowResize(chart.update); @@ -242,7 +243,7 @@ $(document).ready(function() { chart.yAxis.axisLabel('Cyclomatic Complexity'); d3.select('#classComplexity svg') - .datum(getComplexityData([[100,24,"AbstractServer<\/a>"],[100,21,"AuthorizationServer<\/a>"],[96.296296296296,18,"AbstractTokenEntity<\/a>"],[84,9,"AccessTokenEntity<\/a>"],[100,11,"AuthCodeEntity<\/a>"],[100,5,"ClientEntity<\/a>"],[100,6,"RefreshTokenEntity<\/a>"],[100,4,"ScopeEntity<\/a>"],[100,23,"SessionEntity<\/a>"],[75,3,"ClientAuthenticationFailedEvent<\/a>"],[100,3,"SessionOwnerEvent<\/a>"],[75,3,"UserAuthenticationFailedEvent<\/a>"],[100,1,"AccessDeniedException<\/a>"],[100,1,"InvalidClientException<\/a>"],[100,1,"InvalidCredentialsException<\/a>"],[100,1,"InvalidGrantException<\/a>"],[100,1,"InvalidRefreshException<\/a>"],[100,1,"InvalidRequestException<\/a>"],[100,1,"InvalidScopeException<\/a>"],[100,15,"OAuthException<\/a>"],[100,2,"ServerErrorException<\/a>"],[100,1,"UnauthorizedClientException<\/a>"],[100,1,"UnsupportedGrantTypeException<\/a>"],[100,1,"UnsupportedResponseTypeException<\/a>"],[100,21,"AbstractGrant<\/a>"],[98.148148148148,28,"AuthCodeGrant<\/a>"],[100,6,"ClientCredentialsGrant<\/a>"],[100,15,"PasswordGrant<\/a>"],[100,19,"RefreshTokenGrant<\/a>"],[100,13,"ResourceServer<\/a>"],[100,2,"AbstractStorage<\/a>"],[100,5,"AbstractTokenType<\/a>"],[85.714285714286,5,"Bearer<\/a>"],[93.939393939394,22,"MAC<\/a>"],[100,4,"DefaultAlgorithm<\/a>"],[100,2,"RedirectUri<\/a>"],[100,4,"SecureKey<\/a>"],[100,3,"EntityTrait<\/a>"]], 'Class Complexity')) + .datum(getComplexityData([[100,24,"AbstractServer<\/a>"],[100,21,"AuthorizationServer<\/a>"],[96.296296296296,18,"AbstractTokenEntity<\/a>"],[84,9,"AccessTokenEntity<\/a>"],[100,11,"AuthCodeEntity<\/a>"],[100,5,"ClientEntity<\/a>"],[100,6,"RefreshTokenEntity<\/a>"],[100,4,"ScopeEntity<\/a>"],[100,23,"SessionEntity<\/a>"],[75,3,"ClientAuthenticationFailedEvent<\/a>"],[100,3,"SessionOwnerEvent<\/a>"],[75,3,"UserAuthenticationFailedEvent<\/a>"],[100,1,"AccessDeniedException<\/a>"],[100,1,"InvalidClientException<\/a>"],[100,1,"InvalidCredentialsException<\/a>"],[100,1,"InvalidGrantException<\/a>"],[100,1,"InvalidRefreshException<\/a>"],[100,1,"InvalidRequestException<\/a>"],[100,1,"InvalidScopeException<\/a>"],[96.153846153846,16,"OAuthException<\/a>"],[100,2,"ServerErrorException<\/a>"],[100,1,"UnauthorizedClientException<\/a>"],[100,1,"UnsupportedGrantTypeException<\/a>"],[100,1,"UnsupportedResponseTypeException<\/a>"],[100,21,"AbstractGrant<\/a>"],[98.148148148148,28,"AuthCodeGrant<\/a>"],[100,6,"ClientCredentialsGrant<\/a>"],[100,15,"PasswordGrant<\/a>"],[100,19,"RefreshTokenGrant<\/a>"],[100,13,"ResourceServer<\/a>"],[100,2,"AbstractStorage<\/a>"],[100,5,"AbstractTokenType<\/a>"],[85.714285714286,5,"Bearer<\/a>"],[93.939393939394,22,"MAC<\/a>"],[100,4,"DefaultAlgorithm<\/a>"],[100,2,"RedirectUri<\/a>"],[100,4,"SecureKey<\/a>"],[100,3,"EntityTrait<\/a>"]], 'Class Complexity')) .transition() .duration(500) .call(chart); @@ -266,7 +267,7 @@ $(document).ready(function() { chart.yAxis.axisLabel('Method Complexity'); d3.select('#methodComplexity svg') - .datum(getComplexityData([[100,1,"AbstractServer::__construct<\/a>"],[100,2,"AbstractServer::setEventEmitter<\/a>"],[100,1,"AbstractServer::addEventListener<\/a>"],[100,1,"AbstractServer::getEventEmitter<\/a>"],[100,1,"AbstractServer::setRequest<\/a>"],[100,2,"AbstractServer::getRequest<\/a>"],[100,1,"AbstractServer::setClientStorage<\/a>"],[100,1,"AbstractServer::setSessionStorage<\/a>"],[100,1,"AbstractServer::setAccessTokenStorage<\/a>"],[100,1,"AbstractServer::setRefreshTokenStorage<\/a>"],[100,1,"AbstractServer::setAuthCodeStorage<\/a>"],[100,1,"AbstractServer::setScopeStorage<\/a>"],[100,1,"AbstractServer::getClientStorage<\/a>"],[100,1,"AbstractServer::getScopeStorage<\/a>"],[100,1,"AbstractServer::getSessionStorage<\/a>"],[100,1,"AbstractServer::getRefreshTokenStorage<\/a>"],[100,1,"AbstractServer::getAccessTokenStorage<\/a>"],[100,1,"AbstractServer::getAuthCodeStorage<\/a>"],[100,1,"AbstractServer::setTokenType<\/a>"],[100,1,"AbstractServer::getTokenType<\/a>"],[100,1,"AbstractServer::getMacStorage<\/a>"],[100,1,"AbstractServer::setMacStorage<\/a>"],[100,1,"AuthorizationServer::__construct<\/a>"],[100,3,"AuthorizationServer::addGrantType<\/a>"],[100,1,"AuthorizationServer::hasGrantType<\/a>"],[100,1,"AuthorizationServer::getResponseTypes<\/a>"],[100,1,"AuthorizationServer::requireScopeParam<\/a>"],[100,1,"AuthorizationServer::scopeParamRequired<\/a>"],[100,1,"AuthorizationServer::setDefaultScope<\/a>"],[100,1,"AuthorizationServer::getDefaultScope<\/a>"],[100,1,"AuthorizationServer::stateParamRequired<\/a>"],[100,1,"AuthorizationServer::requireStateParam<\/a>"],[100,1,"AuthorizationServer::getScopeDelimiter<\/a>"],[100,1,"AuthorizationServer::setScopeDelimiter<\/a>"],[100,1,"AuthorizationServer::getAccessTokenTTL<\/a>"],[100,1,"AuthorizationServer::setAccessTokenTTL<\/a>"],[100,3,"AuthorizationServer::issueAccessToken<\/a>"],[100,2,"AuthorizationServer::getGrantType<\/a>"],[100,1,"AbstractTokenEntity::__construct<\/a>"],[100,1,"AbstractTokenEntity::setSession<\/a>"],[100,1,"AbstractTokenEntity::setExpireTime<\/a>"],[100,1,"AbstractTokenEntity::getExpireTime<\/a>"],[100,1,"AbstractTokenEntity::isExpired<\/a>"],[100,2,"AbstractTokenEntity::setId<\/a>"],[100,1,"AbstractTokenEntity::getId<\/a>"],[100,2,"AbstractTokenEntity::associateScope<\/a>"],[88.888888888889,4,"AbstractTokenEntity::formatScopes<\/a>"],[100,2,"AbstractTokenEntity::__toString<\/a>"],[100,1,"AbstractTokenEntity::expire<\/a>"],[100,1,"AbstractTokenEntity::save<\/a>"],[100,2,"AccessTokenEntity::getSession<\/a>"],[0,2,"AccessTokenEntity::hasScope<\/a>"],[100,2,"AccessTokenEntity::getScopes<\/a>"],[100,2,"AccessTokenEntity::save<\/a>"],[100,1,"AccessTokenEntity::expire<\/a>"],[100,1,"AuthCodeEntity::setRedirectUri<\/a>"],[100,1,"AuthCodeEntity::getRedirectUri<\/a>"],[100,2,"AuthCodeEntity::generateRedirectUri<\/a>"],[100,2,"AuthCodeEntity::getSession<\/a>"],[100,2,"AuthCodeEntity::getScopes<\/a>"],[100,2,"AuthCodeEntity::save<\/a>"],[100,1,"AuthCodeEntity::expire<\/a>"],[100,1,"ClientEntity::__construct<\/a>"],[100,1,"ClientEntity::getId<\/a>"],[100,1,"ClientEntity::getSecret<\/a>"],[100,1,"ClientEntity::getName<\/a>"],[100,1,"ClientEntity::getRedirectUri<\/a>"],[100,1,"RefreshTokenEntity::setAccessTokenId<\/a>"],[100,1,"RefreshTokenEntity::setAccessToken<\/a>"],[100,2,"RefreshTokenEntity::getAccessToken<\/a>"],[100,1,"RefreshTokenEntity::save<\/a>"],[100,1,"RefreshTokenEntity::expire<\/a>"],[100,1,"ScopeEntity::__construct<\/a>"],[100,1,"ScopeEntity::getId<\/a>"],[100,1,"ScopeEntity::getDescription<\/a>"],[100,1,"ScopeEntity::jsonSerialize<\/a>"],[100,1,"SessionEntity::__construct<\/a>"],[100,1,"SessionEntity::setId<\/a>"],[100,1,"SessionEntity::getId<\/a>"],[100,2,"SessionEntity::associateScope<\/a>"],[100,2,"SessionEntity::hasScope<\/a>"],[100,2,"SessionEntity::getScopes<\/a>"],[100,4,"SessionEntity::formatScopes<\/a>"],[100,1,"SessionEntity::associateAccessToken<\/a>"],[100,1,"SessionEntity::associateRefreshToken<\/a>"],[100,1,"SessionEntity::associateClient<\/a>"],[100,2,"SessionEntity::getClient<\/a>"],[100,1,"SessionEntity::setOwner<\/a>"],[100,1,"SessionEntity::getOwnerId<\/a>"],[100,1,"SessionEntity::getOwnerType<\/a>"],[100,2,"SessionEntity::save<\/a>"],[100,1,"ClientAuthenticationFailedEvent::__construct<\/a>"],[100,1,"ClientAuthenticationFailedEvent::getName<\/a>"],[0,1,"ClientAuthenticationFailedEvent::getRequest<\/a>"],[100,1,"SessionOwnerEvent::__construct<\/a>"],[100,1,"SessionOwnerEvent::getName<\/a>"],[100,1,"SessionOwnerEvent::getSession<\/a>"],[100,1,"UserAuthenticationFailedEvent::__construct<\/a>"],[100,1,"UserAuthenticationFailedEvent::getName<\/a>"],[0,1,"UserAuthenticationFailedEvent::getRequest<\/a>"],[100,1,"AccessDeniedException::__construct<\/a>"],[100,1,"InvalidClientException::__construct<\/a>"],[100,1,"InvalidCredentialsException::__construct<\/a>"],[100,1,"InvalidGrantException::__construct<\/a>"],[100,1,"InvalidRefreshException::__construct<\/a>"],[100,1,"InvalidRequestException::__construct<\/a>"],[100,1,"InvalidScopeException::__construct<\/a>"],[100,1,"OAuthException::__construct<\/a>"],[100,2,"OAuthException::shouldRedirect<\/a>"],[100,1,"OAuthException::getRedirectUri<\/a>"],[100,11,"OAuthException::getHttpHeaders<\/a>"],[100,2,"ServerErrorException::__construct<\/a>"],[100,1,"UnauthorizedClientException::__construct<\/a>"],[100,1,"UnsupportedGrantTypeException::__construct<\/a>"],[100,1,"UnsupportedResponseTypeException::__construct<\/a>"],[100,1,"AbstractGrant::getIdentifier<\/a>"],[100,1,"AbstractGrant::setIdentifier<\/a>"],[100,1,"AbstractGrant::getResponseType<\/a>"],[100,2,"AbstractGrant::getAccessTokenTTL<\/a>"],[100,1,"AbstractGrant::setAccessTokenTTL<\/a>"],[100,1,"AbstractGrant::setAuthorizationServer<\/a>"],[100,11,"AbstractGrant::validateScopes<\/a>"],[100,3,"AbstractGrant::formatScopes<\/a>"],[100,1,"AuthCodeGrant::setAuthTokenTTL<\/a>"],[0,1,"AuthCodeGrant::setRequireClientSecret<\/a>"],[100,1,"AuthCodeGrant::shouldRequireClientSecret<\/a>"],[100,8,"AuthCodeGrant::checkAuthorizeParams<\/a>"],[100,2,"AuthCodeGrant::newAuthorizeRequest<\/a>"],[100,15,"AuthCodeGrant::completeFlow<\/a>"],[100,6,"ClientCredentialsGrant::completeFlow<\/a>"],[100,1,"PasswordGrant::setVerifyCredentialsCallback<\/a>"],[100,3,"PasswordGrant::getVerifyCredentialsCallback<\/a>"],[100,11,"PasswordGrant::completeFlow<\/a>"],[100,1,"RefreshTokenGrant::setRefreshTokenTTL<\/a>"],[100,1,"RefreshTokenGrant::getRefreshTokenTTL<\/a>"],[100,1,"RefreshTokenGrant::setRefreshTokenRotation<\/a>"],[100,1,"RefreshTokenGrant::shouldRotateRefreshTokens<\/a>"],[100,1,"RefreshTokenGrant::setRequireClientSecret<\/a>"],[100,1,"RefreshTokenGrant::shouldRequireClientSecret<\/a>"],[100,13,"RefreshTokenGrant::completeFlow<\/a>"],[100,1,"ResourceServer::__construct<\/a>"],[100,1,"ResourceServer::setIdKey<\/a>"],[100,1,"ResourceServer::getAccessToken<\/a>"],[100,4,"ResourceServer::isValidRequest<\/a>"],[100,6,"ResourceServer::determineAccessToken<\/a>"],[100,1,"AbstractStorage::setServer<\/a>"],[100,1,"AbstractStorage::getServer<\/a>"],[100,1,"AbstractTokenType::setServer<\/a>"],[100,1,"AbstractTokenType::setSession<\/a>"],[100,1,"AbstractTokenType::setParam<\/a>"],[100,2,"AbstractTokenType::getParam<\/a>"],[100,2,"Bearer::generateResponse<\/a>"],[66.666666666667,3,"Bearer::determineAccessTokenInHeader<\/a>"],[83.333333333333,2,"MAC::generateResponse<\/a>"],[100,13,"MAC::determineAccessTokenInHeader<\/a>"],[100,3,"MAC::anonymous function<\/a>"],[90,4,"MAC::hash_equals<\/a>"],[100,4,"DefaultAlgorithm::generate<\/a>"],[100,2,"RedirectUri::make<\/a>"],[100,1,"SecureKey::generate<\/a>"],[100,1,"SecureKey::setAlgorithm<\/a>"],[100,2,"SecureKey::getAlgorithm<\/a>"],[100,3,"EntityTrait::hydrate<\/a>"]], 'Method Complexity')) + .datum(getComplexityData([[100,1,"AbstractServer::__construct<\/a>"],[100,2,"AbstractServer::setEventEmitter<\/a>"],[100,1,"AbstractServer::addEventListener<\/a>"],[100,1,"AbstractServer::getEventEmitter<\/a>"],[100,1,"AbstractServer::setRequest<\/a>"],[100,2,"AbstractServer::getRequest<\/a>"],[100,1,"AbstractServer::setClientStorage<\/a>"],[100,1,"AbstractServer::setSessionStorage<\/a>"],[100,1,"AbstractServer::setAccessTokenStorage<\/a>"],[100,1,"AbstractServer::setRefreshTokenStorage<\/a>"],[100,1,"AbstractServer::setAuthCodeStorage<\/a>"],[100,1,"AbstractServer::setScopeStorage<\/a>"],[100,1,"AbstractServer::getClientStorage<\/a>"],[100,1,"AbstractServer::getScopeStorage<\/a>"],[100,1,"AbstractServer::getSessionStorage<\/a>"],[100,1,"AbstractServer::getRefreshTokenStorage<\/a>"],[100,1,"AbstractServer::getAccessTokenStorage<\/a>"],[100,1,"AbstractServer::getAuthCodeStorage<\/a>"],[100,1,"AbstractServer::setTokenType<\/a>"],[100,1,"AbstractServer::getTokenType<\/a>"],[100,1,"AbstractServer::getMacStorage<\/a>"],[100,1,"AbstractServer::setMacStorage<\/a>"],[100,1,"AuthorizationServer::__construct<\/a>"],[100,3,"AuthorizationServer::addGrantType<\/a>"],[100,1,"AuthorizationServer::hasGrantType<\/a>"],[100,1,"AuthorizationServer::getResponseTypes<\/a>"],[100,1,"AuthorizationServer::requireScopeParam<\/a>"],[100,1,"AuthorizationServer::scopeParamRequired<\/a>"],[100,1,"AuthorizationServer::setDefaultScope<\/a>"],[100,1,"AuthorizationServer::getDefaultScope<\/a>"],[100,1,"AuthorizationServer::stateParamRequired<\/a>"],[100,1,"AuthorizationServer::requireStateParam<\/a>"],[100,1,"AuthorizationServer::getScopeDelimiter<\/a>"],[100,1,"AuthorizationServer::setScopeDelimiter<\/a>"],[100,1,"AuthorizationServer::getAccessTokenTTL<\/a>"],[100,1,"AuthorizationServer::setAccessTokenTTL<\/a>"],[100,3,"AuthorizationServer::issueAccessToken<\/a>"],[100,2,"AuthorizationServer::getGrantType<\/a>"],[100,1,"AbstractTokenEntity::__construct<\/a>"],[100,1,"AbstractTokenEntity::setSession<\/a>"],[100,1,"AbstractTokenEntity::setExpireTime<\/a>"],[100,1,"AbstractTokenEntity::getExpireTime<\/a>"],[100,1,"AbstractTokenEntity::isExpired<\/a>"],[100,2,"AbstractTokenEntity::setId<\/a>"],[100,1,"AbstractTokenEntity::getId<\/a>"],[100,2,"AbstractTokenEntity::associateScope<\/a>"],[88.888888888889,4,"AbstractTokenEntity::formatScopes<\/a>"],[100,2,"AbstractTokenEntity::__toString<\/a>"],[100,1,"AbstractTokenEntity::expire<\/a>"],[100,1,"AbstractTokenEntity::save<\/a>"],[100,2,"AccessTokenEntity::getSession<\/a>"],[0,2,"AccessTokenEntity::hasScope<\/a>"],[100,2,"AccessTokenEntity::getScopes<\/a>"],[100,2,"AccessTokenEntity::save<\/a>"],[100,1,"AccessTokenEntity::expire<\/a>"],[100,1,"AuthCodeEntity::setRedirectUri<\/a>"],[100,1,"AuthCodeEntity::getRedirectUri<\/a>"],[100,2,"AuthCodeEntity::generateRedirectUri<\/a>"],[100,2,"AuthCodeEntity::getSession<\/a>"],[100,2,"AuthCodeEntity::getScopes<\/a>"],[100,2,"AuthCodeEntity::save<\/a>"],[100,1,"AuthCodeEntity::expire<\/a>"],[100,1,"ClientEntity::__construct<\/a>"],[100,1,"ClientEntity::getId<\/a>"],[100,1,"ClientEntity::getSecret<\/a>"],[100,1,"ClientEntity::getName<\/a>"],[100,1,"ClientEntity::getRedirectUri<\/a>"],[100,1,"RefreshTokenEntity::setAccessTokenId<\/a>"],[100,1,"RefreshTokenEntity::setAccessToken<\/a>"],[100,2,"RefreshTokenEntity::getAccessToken<\/a>"],[100,1,"RefreshTokenEntity::save<\/a>"],[100,1,"RefreshTokenEntity::expire<\/a>"],[100,1,"ScopeEntity::__construct<\/a>"],[100,1,"ScopeEntity::getId<\/a>"],[100,1,"ScopeEntity::getDescription<\/a>"],[100,1,"ScopeEntity::jsonSerialize<\/a>"],[100,1,"SessionEntity::__construct<\/a>"],[100,1,"SessionEntity::setId<\/a>"],[100,1,"SessionEntity::getId<\/a>"],[100,2,"SessionEntity::associateScope<\/a>"],[100,2,"SessionEntity::hasScope<\/a>"],[100,2,"SessionEntity::getScopes<\/a>"],[100,4,"SessionEntity::formatScopes<\/a>"],[100,1,"SessionEntity::associateAccessToken<\/a>"],[100,1,"SessionEntity::associateRefreshToken<\/a>"],[100,1,"SessionEntity::associateClient<\/a>"],[100,2,"SessionEntity::getClient<\/a>"],[100,1,"SessionEntity::setOwner<\/a>"],[100,1,"SessionEntity::getOwnerId<\/a>"],[100,1,"SessionEntity::getOwnerType<\/a>"],[100,2,"SessionEntity::save<\/a>"],[100,1,"ClientAuthenticationFailedEvent::__construct<\/a>"],[100,1,"ClientAuthenticationFailedEvent::getName<\/a>"],[0,1,"ClientAuthenticationFailedEvent::getRequest<\/a>"],[100,1,"SessionOwnerEvent::__construct<\/a>"],[100,1,"SessionOwnerEvent::getName<\/a>"],[100,1,"SessionOwnerEvent::getSession<\/a>"],[100,1,"UserAuthenticationFailedEvent::__construct<\/a>"],[100,1,"UserAuthenticationFailedEvent::getName<\/a>"],[0,1,"UserAuthenticationFailedEvent::getRequest<\/a>"],[100,1,"AccessDeniedException::__construct<\/a>"],[100,1,"InvalidClientException::__construct<\/a>"],[100,1,"InvalidCredentialsException::__construct<\/a>"],[100,1,"InvalidGrantException::__construct<\/a>"],[100,1,"InvalidRefreshException::__construct<\/a>"],[100,1,"InvalidRequestException::__construct<\/a>"],[100,1,"InvalidScopeException::__construct<\/a>"],[100,1,"OAuthException::__construct<\/a>"],[100,2,"OAuthException::shouldRedirect<\/a>"],[100,1,"OAuthException::getRedirectUri<\/a>"],[0,1,"OAuthException::getParameter<\/a>"],[100,11,"OAuthException::getHttpHeaders<\/a>"],[100,2,"ServerErrorException::__construct<\/a>"],[100,1,"UnauthorizedClientException::__construct<\/a>"],[100,1,"UnsupportedGrantTypeException::__construct<\/a>"],[100,1,"UnsupportedResponseTypeException::__construct<\/a>"],[100,1,"AbstractGrant::getIdentifier<\/a>"],[100,1,"AbstractGrant::setIdentifier<\/a>"],[100,1,"AbstractGrant::getResponseType<\/a>"],[100,2,"AbstractGrant::getAccessTokenTTL<\/a>"],[100,1,"AbstractGrant::setAccessTokenTTL<\/a>"],[100,1,"AbstractGrant::setAuthorizationServer<\/a>"],[100,11,"AbstractGrant::validateScopes<\/a>"],[100,3,"AbstractGrant::formatScopes<\/a>"],[100,1,"AuthCodeGrant::setAuthTokenTTL<\/a>"],[0,1,"AuthCodeGrant::setRequireClientSecret<\/a>"],[100,1,"AuthCodeGrant::shouldRequireClientSecret<\/a>"],[100,8,"AuthCodeGrant::checkAuthorizeParams<\/a>"],[100,2,"AuthCodeGrant::newAuthorizeRequest<\/a>"],[100,15,"AuthCodeGrant::completeFlow<\/a>"],[100,6,"ClientCredentialsGrant::completeFlow<\/a>"],[100,1,"PasswordGrant::setVerifyCredentialsCallback<\/a>"],[100,3,"PasswordGrant::getVerifyCredentialsCallback<\/a>"],[100,11,"PasswordGrant::completeFlow<\/a>"],[100,1,"RefreshTokenGrant::setRefreshTokenTTL<\/a>"],[100,1,"RefreshTokenGrant::getRefreshTokenTTL<\/a>"],[100,1,"RefreshTokenGrant::setRefreshTokenRotation<\/a>"],[100,1,"RefreshTokenGrant::shouldRotateRefreshTokens<\/a>"],[100,1,"RefreshTokenGrant::setRequireClientSecret<\/a>"],[100,1,"RefreshTokenGrant::shouldRequireClientSecret<\/a>"],[100,13,"RefreshTokenGrant::completeFlow<\/a>"],[100,1,"ResourceServer::__construct<\/a>"],[100,1,"ResourceServer::setIdKey<\/a>"],[100,1,"ResourceServer::getAccessToken<\/a>"],[100,4,"ResourceServer::isValidRequest<\/a>"],[100,6,"ResourceServer::determineAccessToken<\/a>"],[100,1,"AbstractStorage::setServer<\/a>"],[100,1,"AbstractStorage::getServer<\/a>"],[100,1,"AbstractTokenType::setServer<\/a>"],[100,1,"AbstractTokenType::setSession<\/a>"],[100,1,"AbstractTokenType::setParam<\/a>"],[100,2,"AbstractTokenType::getParam<\/a>"],[100,2,"Bearer::generateResponse<\/a>"],[66.666666666667,3,"Bearer::determineAccessTokenInHeader<\/a>"],[83.333333333333,2,"MAC::generateResponse<\/a>"],[100,13,"MAC::determineAccessTokenInHeader<\/a>"],[100,3,"MAC::anonymous function<\/a>"],[90,4,"MAC::hash_equals<\/a>"],[100,4,"DefaultAlgorithm::generate<\/a>"],[100,2,"RedirectUri::make<\/a>"],[100,1,"SecureKey::generate<\/a>"],[100,1,"SecureKey::setAlgorithm<\/a>"],[100,2,"SecureKey::getAlgorithm<\/a>"],[100,3,"EntityTrait::hydrate<\/a>"]], 'Method Complexity')) .transition() .duration(500) .call(chart); diff --git a/master/index.html b/master/index.html index 3dd42ed4..51bc8760 100644 --- a/master/index.html +++ b/master/index.html @@ -43,29 +43,29 @@ Total
-
- 98.11% covered (success) +
+ 98.00% covered (success)
-
98.11%
-
779 / 794
+
98.00%
+
785 / 801
-
- 95.03% covered (success) +
+ 94.44% covered (success)
-
95.03%
-
153 / 161
+
94.44%
+
153 / 162
-
- 81.58% covered (warning) +
+ 78.95% covered (warning)
-
81.58%
-
31 / 38
+
78.95%
+
30 / 38
@@ -127,29 +127,29 @@
Exception
-
- 100.00% covered (success) +
+ 98.65% covered (success)
-
100.00%
-
67 / 67
+
98.65%
+
73 / 74
-
- 100.00% covered (success) +
+ 93.75% covered (success)
-
100.00%
-
15 / 15
+
93.75%
+
15 / 16
-
- 100.00% covered (success) +
+ 91.67% covered (success)
-
100.00%
-
12 / 12
+
91.67%
+
11 / 12
@@ -360,7 +360,7 @@ High: 90% to 100%

- Generated by PHP_CodeCoverage 2.2.2 using PHP 5.5.21 and PHPUnit 4.3.5 at Fri Sep 4 7:38:21 UTC 2015. + Generated by PHP_CodeCoverage 2.2.2 using PHP 5.4.37 and PHPUnit 4.3.5 at Fri Sep 4 7:39:56 UTC 2015.