Skip to content

Commit

Permalink
Merge branch 'feature/codeception-4'
Browse files Browse the repository at this point in the history
  • Loading branch information
koehnlein committed Nov 17, 2023
2 parents 06bff70 + 9112917 commit 4fabfe9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
}
],
"require": {
"php": "8.1.* | 8.2.* | 8.3.*",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.1 | ^7.0"
"codeception/codeception": "^4.0",
"guzzlehttp/guzzle": "^6.1 || ^7.0"
},
"require-dev": {
"codeception/codeception": "^5.0",
"friendsofphp/php-cs-fixer": "^3.0",
"http-interop/http-factory-guzzle": "^1.2",
"phpunit/phpunit": "^9.5",
Expand Down
8 changes: 6 additions & 2 deletions src/Mailpit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class Mailpit extends Module

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

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

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

0 comments on commit 4fabfe9

Please sign in to comment.