21 lines
569 B
PHP
21 lines
569 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
return (new PhpCsFixer\Config())
|
|
->setRiskyAllowed(true)
|
|
->setRules([
|
|
'@PhpCsFixer' => true,
|
|
'@PhpCsFixer:risky' => true,
|
|
'@PSR12' => true,
|
|
'@PSR12:risky' => true,
|
|
'declare_strict_types' => true,
|
|
'php_unit_internal_class' => false,
|
|
'php_unit_test_class_requires_covers' => false,
|
|
'yoda_style' => true,
|
|
'php_unit_test_case_static_method_calls'=> ['call_type' => 'self'],
|
|
])
|
|
->setFinder(
|
|
PhpCsFixer\Finder::create()
|
|
->in(__DIR__)
|
|
);
|