Skip to content

Commit

Permalink
Merge branch 'feature/codeception-5'
Browse files Browse the repository at this point in the history
  • Loading branch information
koehnlein committed Nov 17, 2023
2 parents 4fabfe9 + 68daf46 commit d1b474b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-json": "*",
"codeception/codeception": "^4.0",
"codeception/codeception": "^5.0",
"guzzlehttp/guzzle": "^6.1 || ^7.0"
},
"require-dev": {
Expand Down
8 changes: 2 additions & 6 deletions src/Mailpit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ class Mailpit extends Module

/**
* Codeception exposed variables.
*
* @var array<string>
*/
protected $config = [
protected array $config = [
'url',
'port',
'guzzleRequestOptions',
Expand All @@ -26,10 +24,8 @@ class Mailpit extends Module

/**
* Codeception required variables.
*
* @var array<string>
*/
protected $requiredFields = ['url', 'port'];
protected array $requiredFields = ['url', 'port'];

/**
* HTTP Client to interact with Mailpit.
Expand Down

0 comments on commit d1b474b

Please sign in to comment.