Fix for unit tests
This commit is contained in:
17
.php_cs.php8-migration.php
Normal file
17
.php_cs.php8-migration.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->exclude(['vendor'])
|
||||
->in(__DIR__ . '/src');
|
||||
|
||||
$config = new PhpCsFixer\Config();
|
||||
return $config
|
||||
->setRiskyAllowed(true)
|
||||
->setRules(
|
||||
[
|
||||
'@PHP80Migration' => true,
|
||||
'@PHP80Migration:risky' => true,
|
||||
]
|
||||
)
|
||||
->setFinder($finder)
|
||||
;
|
||||
Reference in New Issue
Block a user