Skip to content

Commit

Permalink
fix(Module/WPLoader) _beforeSuite method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Sep 9, 2024
1 parent 0cc85c6 commit 7bd77c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [unreleased] Unreleased

### Fixed

- `WPLoader::_beforeSuite` method signature to avoid breaking compatibility with Codeception 4.x.

## [3.7.1] 2024-09-07;

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Module/WPLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public function _initialize(): void
*
* @return void
*/
public function _beforeSuite(array $settings = [])
public function _beforeSuite($settings = [])
{
parent::_beforeSuite($settings);
$this->_loadWordPress();
Expand Down

0 comments on commit 7bd77c0

Please sign in to comment.