Skip to content

Commit 6951a3f

Browse files
committed
Support Codeception 5
1 parent 60607ad commit 6951a3f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [7.4, 8.0, 8.1]
11+
php: [8.0, 8.1]
1212

1313
steps:
1414
- name: Checkout code

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
],
1313
"minimum-stability": "RC",
1414
"require": {
15-
"php": "^7.4 | ^8.0",
16-
"codeception/codeception": "^4.0"
15+
"php": "^8.0",
16+
"codeception/codeception": "^5.0"
1717
},
1818
"autoload":{
1919
"classmap": ["src/"]

src/Codeception/Module/Sequence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Sequence extends Module
109109
/**
110110
* @var array<string, string>
111111
*/
112-
protected $config = ['prefix' => '{id}_'];
112+
protected array $config = ['prefix' => '{id}_'];
113113

114114
public function _initialize()
115115
{

tests/unit/Codeception/Module/SequenceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Codeception\Lib\ModuleContainer;
66
use Codeception\Module\Sequence;
77
use Codeception\Test\Unit;
8-
use Codeception\Util\Stub;
8+
use Codeception\Stub;
99

1010
final class SequenceTest extends Unit
1111
{

0 commit comments

Comments
 (0)