Skip to content

Commit 4313cca

Browse files
committed
Replaced deprecated PhpCsFixer\Config instantiation
1 parent 8f504e7 commit 4313cca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FixerFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ public static function createFor(string $packageName, string $workingDir, array
112112
$finder = $finder->filter($filter);
113113
}
114114

115-
return PhpCsFixer\Config::create()
115+
$config = new PhpCsFixer\Config();
116+
return $config
116117
->setRiskyAllowed(true)
117118
->setRules(self::$rules)
118119
->setFinder($finder)

0 commit comments

Comments
 (0)