mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 05:42:19 +08:00
25 lines
623 B
PHP
Executable File
25 lines
623 B
PHP
Executable File
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__.'/src')
|
|
->in(__DIR__.'/tests')
|
|
;
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRiskyAllowed(true)
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'@Symfony' => true,
|
|
'ordered_imports' => true,
|
|
'array_syntax' => ['syntax' => 'long'],
|
|
'no_superfluous_phpdoc_tags' => false,
|
|
'phpdoc_annotation_without_dot' => false,
|
|
'phpdoc_types_order' => false,
|
|
'phpdoc_summary' => false,
|
|
'phpdoc_to_comment' => false,
|
|
'phpdoc_align' => false,
|
|
'yoda_style' => false,
|
|
])
|
|
->setFinder($finder)
|
|
;
|