Passed
Branch master (88b79b)
by Liaw
08:08 queued 03:02
created
tests/LightSaml/Tests/Helper/KeyDescriptorChecker.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class KeyDescriptorChecker
9 9
 {
10
+    /**
11
+     * @param string $cn
12
+     */
10 13
     public static function checkCertificateCN(BaseTestCase $test, $use, $cn, KeyDescriptor $kd = null)
11 14
     {
12 15
         $test->assertNotNull($kd);
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Helper/OrganizationChecker.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -7,6 +7,11 @@
 block discarded – undo
7 7
 
8 8
 class OrganizationChecker
9 9
 {
10
+    /**
11
+     * @param string $name
12
+     * @param string $display
13
+     * @param string $url
14
+     */
10 15
     public static function check(BaseTestCase $test, $name, $display, $url, Organization $organization = null)
11 16
     {
12 17
         $test->assertNotNull($organization);
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Model/Protocol/ResponseTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 use LightSaml\Model\Assertion\SubjectConfirmation;
19 19
 use LightSaml\Model\Assertion\SubjectConfirmationData;
20 20
 use LightSaml\Model\Protocol\Response;
21
-use LightSaml\Model\Protocol\Status;
22
-use LightSaml\Model\Protocol\StatusCode;
23 21
 use LightSaml\Model\XmlDSig\SignatureWriter;
24 22
 use LightSaml\SamlConstants;
25 23
 use LightSaml\Credential\KeyHelper;
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Resolver/Credential/CredentialResolverQueryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use LightSaml\Resolver\Credential\CredentialResolverInterface;
8 8
 use LightSaml\Resolver\Credential\CredentialResolverQuery;
9 9
 use LightSaml\Tests\BaseTestCase;
10
-use RobRichards\XMLSecLibs\XMLSecurityKey;
11 10
 
12 11
 class CredentialResolverQueryTest extends BaseTestCase
13 12
 {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Resolver/Credential/PrivateKeyResolverTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use LightSaml\Criteria\CriteriaSet;
8 8
 use LightSaml\Resolver\Credential\PrivateKeyResolver;
9 9
 use LightSaml\Tests\BaseTestCase;
10
-use RobRichards\XMLSecLibs\XMLSecurityKey;
11 10
 
12 11
 class PrivateKeyResolverTest extends BaseTestCase
13 12
 {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/State/Sso/SsoStateTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,8 +244,8 @@
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param array $arrIdp
248
-     * @param array $arrSp
247
+     * @param string[] $arrIdp
248
+     * @param string[] $arrSp
249 249
      *
250 250
      * @return SsoState
251 251
      */
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Store/Request/RequestStateSessionStoreTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LightSaml\Tests\Store\Request;
4 4
 
5
-use LightSaml\Meta\ParameterBag;
6 5
 use LightSaml\State\Request\RequestState;
7 6
 use LightSaml\Store\Request\RequestStateSessionStore;
8 7
 use LightSaml\Tests\BaseTestCase;
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Store/TrustOptions/CompositeTrustOptionsStoreTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @return \PHPUnit_Framework_MockObject_MockObject|TrustOptionsStoreInterface
108
+     * @return \PHPUnit\Framework\MockObject\MockObject
109 109
      */
110 110
     private function getTrustOptionsStoreMock()
111 111
     {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Validator/Model/Assertion/AssertionValidatorTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
     }
433 433
 
434 434
     /**
435
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Validator\Model\NameId\NameIdValidatorInterface
435
+     * @return \PHPUnit\Framework\MockObject\MockObject
436 436
      */
437 437
     private function getNameIdValidatorMock()
438 438
     {
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
     }
441 441
 
442 442
     /**
443
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Validator\Model\Statement\StatementValidatorInterface
443
+     * @return \PHPUnit\Framework\MockObject\MockObject
444 444
      */
445 445
     private function getStatementValidatorMock()
446 446
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
     }
449 449
 
450 450
     /**
451
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Validator\Model\Subject\SubjectValidatorInterface
451
+     * @return \PHPUnit\Framework\MockObject\MockObject
452 452
      */
453 453
     private function getSubjectValidatorMock()
454 454
     {
Please login to merge, or discard this patch.