Skip to content

Commit 342b270

Browse files
jakubvojacekf3l1x
authored andcommitted
codeception 5 support
1 parent 60b6223 commit 342b270

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
}
2020
],
2121
"require": {
22-
"php": ">=7.2",
23-
"codeception/codeception": "^4.0.2",
24-
"codeception/lib-innerbrowser": "^1.3 || ^2.0",
22+
"php": ">=7.4",
23+
"codeception/codeception": "^4.0.2 || ^5.0.0",
24+
"codeception/lib-innerbrowser": "^1.3 || ^2.0 || ^3.0",
2525
"nette/di": "^3.0",
2626
"nette/bootstrap": "^3.0",
2727
"nette/http": "^3.0.3",

src/Module/NetteApplicationModule.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
class NetteApplicationModule extends Framework
1616
{
1717

18-
/** @var mixed[] */
19-
protected $config = [
18+
protected array $config = [
2019
'followRedirects' => true,
2120
];
2221

src/Module/NetteDIModule.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ class NetteDIModule extends Module
2323
/** @var callable[] function(Container $container): void; */
2424
public $onCreateContainer = [];
2525

26-
/** @var mixed[] */
27-
protected $config = [
26+
protected array $config = [
2827
'configFiles' => [],
2928
'appDir' => null,
3029
'logDir' => null,
@@ -34,8 +33,7 @@ class NetteDIModule extends Module
3433
'newContainerForEachTest' => false,
3534
];
3635

37-
/** @var string[] */
38-
protected $requiredFields = [
36+
protected array $requiredFields = [
3937
'tempDir',
4038
];
4139

0 commit comments

Comments
 (0)