diff --git a/src/Module/WPLoader/FiltersGroup.php b/src/Module/WPLoader/FiltersGroup.php index f77bfdf9b..3e7628a5f 100644 --- a/src/Module/WPLoader/FiltersGroup.php +++ b/src/Module/WPLoader/FiltersGroup.php @@ -40,7 +40,8 @@ class FiltersGroup * the default one. * @param callable|null $addWith The callable that should be used to add the filters, or `null` to use the */ - public function __construct(array $filters = [], + public function __construct( + array $filters = [], callable $removeWith = null, callable $addWith = null ) { diff --git a/src/Project/PluginProject.php b/src/Project/PluginProject.php index 908d084b8..0fa33cca4 100644 --- a/src/Project/PluginProject.php +++ b/src/Project/PluginProject.php @@ -168,7 +168,7 @@ public function test_it_deactivates_activates_correctly(EndToEndTester \$I): voi } EOT -, + , [ 'slug' => Strings::slug($this->getName()) ] @@ -221,7 +221,7 @@ public function test_plugin_active(): void } } EOT -, + , [ 'pluginString' => $this->getActivationString() ] diff --git a/src/Project/ThemeProject.php b/src/Project/ThemeProject.php index 1a320bfcf..589324530 100644 --- a/src/Project/ThemeProject.php +++ b/src/Project/ThemeProject.php @@ -149,7 +149,7 @@ public function test_it_activates_correctly(EndToEndTester \$I): void } EOT -, + , [ 'basename' => Strings::slug($this->basename) ] @@ -202,7 +202,7 @@ public function test_theme_active(): void } } EOT -, + , [ 'stylesheet' => $this->getActivationString() ]