You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
770 B
29 lines
770 B
<?php
|
|
|
|
/**
|
|
* @generated
|
|
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
|
|
*/
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__)
|
|
->exclude('vendor')
|
|
->exclude('test')
|
|
->exclude('tests')
|
|
;
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@PSR12' => true,
|
|
'phpdoc_order' => true,
|
|
'array_syntax' => [ 'syntax' => 'short' ],
|
|
'strict_comparison' => true,
|
|
'strict_param' => true,
|
|
'no_trailing_whitespace' => false,
|
|
'no_trailing_whitespace_in_comment' => false,
|
|
'braces' => false,
|
|
'single_blank_line_at_eof' => false,
|
|
'blank_line_after_namespace' => false,
|
|
'no_leading_import_slash' => false,
|
|
])
|
|
->setFinder($finder)
|
|
;
|