Skip to content

Commit 4fabfe9

Browse files
committed
Merge branch 'feature/codeception-4'
2 parents 06bff70 + 9112917 commit 4fabfe9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
}
2222
],
2323
"require": {
24-
"php": "8.1.* | 8.2.* | 8.3.*",
24+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
2525
"ext-json": "*",
26-
"guzzlehttp/guzzle": "^6.1 | ^7.0"
26+
"codeception/codeception": "^4.0",
27+
"guzzlehttp/guzzle": "^6.1 || ^7.0"
2728
},
2829
"require-dev": {
29-
"codeception/codeception": "^5.0",
3030
"friendsofphp/php-cs-fixer": "^3.0",
3131
"http-interop/http-factory-guzzle": "^1.2",
3232
"phpunit/phpunit": "^9.5",

src/Mailpit.php

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

1414
/**
1515
* Codeception exposed variables.
16+
*
17+
* @var array<string>
1618
*/
17-
protected array $config = [
19+
protected $config = [
1820
'url',
1921
'port',
2022
'guzzleRequestOptions',
@@ -24,8 +26,10 @@ class Mailpit extends Module
2426

2527
/**
2628
* Codeception required variables.
29+
*
30+
* @var array<string>
2731
*/
28-
protected array $requiredFields = ['url', 'port'];
32+
protected $requiredFields = ['url', 'port'];
2933

3034
/**
3135
* HTTP Client to interact with Mailpit.

0 commit comments

Comments
 (0)