@@ -7,6 +7,9 @@ |
||
| 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); |
@@ -7,6 +7,11 @@ |
||
| 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); |
@@ -18,8 +18,6 @@ |
||
| 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; |
@@ -7,7 +7,6 @@ |
||
| 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 | { |
@@ -7,7 +7,6 @@ |
||
| 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 | { |
@@ -244,8 +244,8 @@ |
||
| 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 | */ |
@@ -2,7 +2,6 @@ |
||
| 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; |
@@ -105,7 +105,7 @@ |
||
| 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 | { |
@@ -432,7 +432,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |