Passed
Branch master (88b79b)
by Liaw
08:08 queued 03:02
created
tests/LightSaml/Tests/Context/Profile/Helper/MessageContextHelperTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @return \PHPUnit_Framework_MockObject_MockObject|SamlMessage
92
+     * @return \PHPUnit\Framework\MockObject\MockObject
93 93
      */
94 94
     private function getMessageMock()
95 95
     {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Credential/AbstractCredentialTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Credential\AbstractCredential
55
+     * @return \PHPUnit\Framework\MockObject\MockObject
56 56
      */
57 57
     private function getAbstractCredentialMock()
58 58
     {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Credential/Context/CredentialContextSetTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Credential\Context\MetadataCredentialContext
44
+     * @return \PHPUnit\Framework\MockObject\MockObject
45 45
      */
46 46
     private function getMetadataContextMock()
47 47
     {
Please login to merge, or discard this patch.
tests/LightSaml/Tests/Credential/Context/MetadataCredentialContextTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Model\Metadata\KeyDescriptor
24
+     * @return \PHPUnit\Framework\MockObject\MockObject
25 25
      */
26 26
     private function getKeyDescriptorMock()
27 27
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Model\Metadata\RoleDescriptor
32
+     * @return \PHPUnit\Framework\MockObject\MockObject
33 33
      */
34 34
     private function getRoleDescriptorMock()
35 35
     {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @return \PHPUnit_Framework_MockObject_MockObject|\LightSaml\Model\Metadata\EntityDescriptor
40
+     * @return \PHPUnit\Framework\MockObject\MockObject
41 41
      */
42 42
     private function getEntityDescriptorMock()
43 43
     {
Please login to merge, or discard this patch.
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.