28 lines
659 B
PHP
Executable File
28 lines
659 B
PHP
Executable File
<?php
|
|
|
|
$header = <<<EOF
|
|
This file is part of the mingyoung/dingtalk.
|
|
|
|
(c) 张铭阳 <mingyoungcheung@gmail.com>
|
|
|
|
This source file is subject to the MIT license that is bundled
|
|
with this source code in the file LICENSE.
|
|
EOF;
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'phpdoc_summary' => false,
|
|
'header_comment' => ['header' => $header],
|
|
'ordered_imports' => true,
|
|
'phpdoc_no_empty_return' => false,
|
|
'no_empty_comment' => false,
|
|
])
|
|
->setFinder(
|
|
PhpCsFixer\Finder::create()
|
|
->exclude('vendor')
|
|
->in(__DIR__)
|
|
)
|
|
->setUsingCache(false)
|
|
;
|