Skip to content

Commit

Permalink
Fix: Do not use named constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Apr 20, 2021
1 parent 846b1e5 commit bebf13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/AbstractRuleSetTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ final protected static function createRuleSet(?string $header = null): Config\Ru
*/
final protected static function fixersThatAreBuiltIn(): array
{
$fixerFactory = FixerFactory::create();
$fixerFactory = new FixerFactory();

$fixerFactory->registerBuiltInFixers();

Expand Down

0 comments on commit bebf13f

Please sign in to comment.