Skip to content

Commit d1b474b

Browse files
committed
Merge branch 'feature/codeception-5'
2 parents 4fabfe9 + 68daf46 commit d1b474b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"require": {
2424
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
2525
"ext-json": "*",
26-
"codeception/codeception": "^4.0",
26+
"codeception/codeception": "^5.0",
2727
"guzzlehttp/guzzle": "^6.1 || ^7.0"
2828
},
2929
"require-dev": {

src/Mailpit.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ class Mailpit extends Module
1313

1414
/**
1515
* Codeception exposed variables.
16-
*
17-
* @var array<string>
1816
*/
19-
protected $config = [
17+
protected array $config = [
2018
'url',
2119
'port',
2220
'guzzleRequestOptions',
@@ -26,10 +24,8 @@ class Mailpit extends Module
2624

2725
/**
2826
* Codeception required variables.
29-
*
30-
* @var array<string>
3127
*/
32-
protected $requiredFields = ['url', 'port'];
28+
protected array $requiredFields = ['url', 'port'];
3329

3430
/**
3531
* HTTP Client to interact with Mailpit.

0 commit comments

Comments
 (0)