mirror of
http://124.126.16.154:8888/singularity/hdk-skeleton.git
synced 2026-01-15 07:35:08 +08:00
23 lines
451 B
PHP
23 lines
451 B
PHP
<?php
|
|
/**
|
|
* .php-cs-fixer.dist.php@HDK-Core
|
|
*
|
|
* @author 李东云 <Dongyun.Li@LuxCreo.Ai>
|
|
* Powered by PhpStorm
|
|
* Created on 2023/1/9
|
|
*/
|
|
|
|
$finder = PhpCsFixer\Finder::create()->in([
|
|
__DIR__ . '/app',
|
|
__DIR__ . '/test',
|
|
]);
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@PSR12' => true,
|
|
'strict_param' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
])
|
|
->setUsingCache(false)
|
|
->setFinder($finder);
|