File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 8
8
9
9
strategy :
10
10
matrix :
11
- php : [7.4 , 8.0 ]
11
+ php : [8.0 , 8.1 ]
12
12
13
13
steps :
14
14
- name : Checkout code
Original file line number Diff line number Diff line change 13
13
"name" : " Gintautas Miselis"
14
14
}
15
15
],
16
- "minimum-stability" : " RC " ,
16
+ "minimum-stability" : " dev " ,
17
17
"require" : {
18
- "php" : " ^7.4 | ^ 8.0" ,
18
+ "php" : " ^8.0" ,
19
19
"ext-json" : " *" ,
20
20
"guzzlehttp/guzzle" : " ^7.4" ,
21
21
"codeception/lib-innerbrowser" : " ^2.0 | *@dev" ,
22
- "codeception/codeception" : " ^4.1 | *@dev "
22
+ "codeception/codeception" : " ^5.0.0-alpha1 "
23
23
},
24
24
"require-dev" : {
25
25
"ext-curl" : " *" ,
26
26
"aws/aws-sdk-php" : " ^3.199" ,
27
27
"codeception/module-rest" : " ^2.0 | *@dev"
28
28
},
29
29
"conflict" : {
30
- "codeception/codeception" : " <4.1 "
30
+ "codeception/codeception" : " <5.0 "
31
31
},
32
32
"suggest" : {
33
33
"codeception/phpbuiltinserver" : " Start and stop PHP built-in web server for your tests"
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ public function _getResponseCode()
222
222
return $ this ->getResponseStatusCode ();
223
223
}
224
224
225
- public function _initializeSession ()
225
+ public function _initializeSession (): void
226
226
{
227
227
// independent sessions need independent cookies
228
228
$ this ->client = new Guzzle ();
@@ -259,7 +259,7 @@ public function _prepareSession(): void
259
259
$ this ->client ->setClient ($ this ->guzzle );
260
260
}
261
261
262
- public function _backupSession ()
262
+ public function _backupSession (): array
263
263
{
264
264
return [
265
265
'client ' => $ this ->client ,
@@ -269,14 +269,14 @@ public function _backupSession()
269
269
];
270
270
}
271
271
272
- public function _loadSession ($ session )
272
+ public function _loadSession ($ session ): void
273
273
{
274
274
foreach ($ session as $ key => $ val ) {
275
275
$ this ->$ key = $ val ;
276
276
}
277
277
}
278
278
279
- public function _closeSession ($ session = null )
279
+ public function _closeSession ($ session = null ): void
280
280
{
281
281
unset($ session );
282
282
}
You can’t perform that action at this time.
0 commit comments