diff --git a/config/rector-35.php b/config/rector-35.php index 1e50dfb4e..2fcea180d 100644 --- a/config/rector-35.php +++ b/config/rector-35.php @@ -76,6 +76,14 @@ 'assertDirectoryExists' => [ RemoveTypeHinting::REMOVE_ALL => true ] + ], + 'lucatume\WPBrowser\Module\WPLoader' => [ + // from: public function _beforeSuite(array $settings = []) + // to: public function _beforeSuite($settings = []) + '_beforeSuite' => [ + RemoveTypeHinting::REMOVE_RETURN_TYPE_HINTING => true, + RemoveTypeHinting::REMOVE_PARAM_TYPE_HINTING => ['settings'] + ], ] ]); };