File tree 4 files changed +11
-9
lines changed
4 files changed +11
-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 10
10
"name" :" Gintautas Miselis"
11
11
}
12
12
],
13
- "minimum-stability" : " RC " ,
13
+ "minimum-stability" : " dev " ,
14
14
"require" : {
15
15
"php" : " ^8.0" ,
16
16
"ext-dom" : " *" ,
17
17
"ext-json" : " *" ,
18
- "codeception/codeception" : " ^4.1 " ,
18
+ "codeception/codeception" : " ^5.0.0-alpha1 " ,
19
19
"justinrainbow/json-schema" : " ~5.2.9" ,
20
20
"softcreatr/jsonpath" : " ^0.8"
21
21
},
22
22
"require-dev" : {
23
+ "ext-libxml" : " *" ,
24
+ "ext-simplexml" : " *" ,
23
25
"codeception/stub" : " ^4.0" ,
24
26
"codeception/util-universalframework" : " ^1.0" ,
25
- "codeception/lib-innerbrowser" : " ^2.0"
27
+ "codeception/lib-innerbrowser" : " ^2.0 | *@dev "
26
28
},
27
29
"suggest" : {
28
30
"aws/aws-sdk-php" : " For using AWS Auth"
Original file line number Diff line number Diff line change @@ -148,20 +148,20 @@ protected function resetVariables(): void
148
148
$ this ->connectionModule ->headers = [];
149
149
}
150
150
151
- public function _conflicts ()
151
+ public function _conflicts (): string
152
152
{
153
153
return \Codeception \Lib \Interfaces \API ::class;
154
154
}
155
155
156
- public function _depends ()
156
+ public function _depends (): array
157
157
{
158
158
return [InnerBrowser::class => $ this ->dependencyMessage ];
159
159
}
160
160
161
161
/**
162
162
* @return string[]
163
163
*/
164
- public function _parts ()
164
+ public function _parts (): array
165
165
{
166
166
return ['xml ' , 'json ' ];
167
167
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function run(ModuleContainer $container = null)
15
15
return json_decode ($ resp , true );
16
16
}
17
17
18
- public static function getTemplate (Template $ template )
18
+ public static function getTemplate (Template $ template ): ? Template
19
19
{
20
20
$ action = $ template ->getVar ('action ' );
21
21
@@ -29,4 +29,4 @@ public static function getTemplate(Template $template)
29
29
->place ('action ' , $ action . 'AsJson ' )
30
30
->place ('step ' , 'AsJson ' );
31
31
}
32
- }
32
+ }
You can’t perform that action at this time.
0 commit comments