Passed
Branch master (88b79b)
by Liaw
08:08 queued 03:02
created
tests/LightSaml/Tests/Functional/Binding/HttpPostBindingFunctionalTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\EventDispatcher\EventDispatcherInterface
149
+     * @return \PHPUnit\Framework\MockObject\MockObject
150 150
      */
151 151
     private function getEventDispatcherMock()
152 152
     {
Please login to merge, or discard this patch.
LightSaml/Tests/Functional/Binding/HttpRedirectBindingFunctionalTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\EventDispatcher\EventDispatcherInterface
188
+     * @return \PHPUnit\Framework\MockObject\MockObject
189 189
      */
190 190
     private function getEventDispatcherMock()
191 191
     {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Functional/Bridge/Pimple/ProfileTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
158 158
         $this->assertInstanceOf(\LightSaml\Store\EntityDescriptor\EntityDescriptorStoreInterface::class, $buildContainer->getPartyContainer()->getSpEntityDescriptorStore());
159 159
     }
160 160
 
161
+    /**
162
+     * @param string $inResponseTo
163
+     */
161 164
     private function getBuildContainer($inResponseTo = null, TimeProviderInterface $timeProvider = null)
162 165
     {
163 166
         $buildContainer = new BuildContainer($pimple = new Container());
Please login to merge, or discard this patch.
Tests/Functional/Model/Metadata/EntityDescriptorFunctionalTest.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@  discard block
 block discarded – undo
127 127
         EntityDescriptor::load(__DIR__.'/../../../../../../resources/sample/EntitiesDescriptor/testshib-providers.xml');
128 128
     }
129 129
 
130
+    /**
131
+     * @param string $certificate
132
+     */
130 133
     private function checkKD(SSODescriptor $descriptor, $use, $certificate)
131 134
     {
132 135
         $arrKD = $descriptor->getAllKeyDescriptorsByUse($use);
@@ -138,6 +141,9 @@  discard block
 block discarded – undo
138 141
         $this->assertEquals($certificate, $kd->getCertificate()->getData());
139 142
     }
140 143
 
144
+    /**
145
+     * @param string $location
146
+     */
141 147
     private function checkSLO(SSODescriptor $descriptor, $binding, $location)
142 148
     {
143 149
         $arr = $descriptor->getAllSingleLogoutServicesByBinding($binding);
@@ -148,6 +154,11 @@  discard block
 block discarded – undo
148 154
         $this->assertEquals($location, $svc->getLocation());
149 155
     }
150 156
 
157
+    /**
158
+     * @param string $location
159
+     * @param string $index
160
+     * @param boolean $isDefault
161
+     */
151 162
     private function checkACS(SpSsoDescriptor $sp, $binding, $location, $index, $isDefault)
152 163
     {
153 164
         $arr = $sp->getAllAssertionConsumerServicesByBinding($binding);
@@ -160,6 +171,9 @@  discard block
 block discarded – undo
160 171
         $this->assertEquals($isDefault, $svc->getIsDefaultBool());
161 172
     }
162 173
 
174
+    /**
175
+     * @param string $location
176
+     */
163 177
     private function checkSSO(IdpSsoDescriptor $idp, $binding, $location)
164 178
     {
165 179
         $arr = $idp->getAllSingleSignOnServicesByBinding($binding);
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Helper/ContactPersonChecker.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 ContactPersonChecker
9 9
 {
10
+    /**
11
+     * @param string $givenName
12
+     * @param string $surName
13
+     * @param string $email
14
+     */
10 15
     public static function check(
11 16
         BaseTestCase $test,
12 17
         $type,
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Helper/IndexedEndpointChecker.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 IndexedEndpointChecker
9 9
 {
10
+    /**
11
+     * @param string $location
12
+     * @param integer $index
13
+     * @param boolean $isDefault
14
+     */
10 15
     public static function check(BaseTestCase $test, $binding, $location, $index, $isDefault, IndexedEndpoint $svc = null)
11 16
     {
12 17
         EndpointChecker::check($test, $binding, $location, $svc);
Please login to merge, or discard this patch.
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/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.