mirror of
http://124.126.16.154:8888/singularity/hyperf-admin.git
synced 2026-01-15 03:35:07 +08:00
24 lines
478 B
PHP
24 lines
478 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__ . '/publish',
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
]);
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@PSR12' => true,
|
|
'strict_param' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
])
|
|
->setUsingCache(false)
|
|
->setFinder($finder);
|