Fix for unit tests

This commit is contained in:
theUniC
2021-09-14 18:09:50 +02:00
parent aefde1c484
commit 75d1fa29a8
941 changed files with 138436 additions and 758 deletions

View 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)
;