Use Config constructor instead of deprecated named one

This commit is contained in:
Yassine Guedidi 2022-08-01 19:18:49 +01:00 committed by Kevin Decherf
parent 5d736d874c
commit ef9183f6c1

View file

@ -1,6 +1,7 @@
<?php
return PhpCsFixer\Config::create()
$config = new PhpCsFixer\Config();
return $config
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,