first commit
This commit is contained in:
24
vendor/yansongda/supports/.php-cs-fixer.php
vendored
Normal file
24
vendor/yansongda/supports/.php-cs-fixer.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->exclude('tests')
|
||||
->exclude('vendor')
|
||||
->in(__DIR__);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setUsingCache(false)
|
||||
->setRules([
|
||||
'@Symfony' => true,
|
||||
'class_attributes_separation' => true,
|
||||
'ordered_class_elements' => true,
|
||||
'ordered_imports' => ['sort_algorithm' => 'alpha'],
|
||||
'line_ending' => true,
|
||||
'single_quote' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'general_phpdoc_annotation_remove' => [
|
||||
'annotations' => [
|
||||
'author'
|
||||
],
|
||||
],
|
||||
])
|
||||
->setFinder($finder);
|
||||
Reference in New Issue
Block a user