Files
hdk-skeleton/.php-cs-fixer.dist.php
李东云 24d9e6ccc8 build: update
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2023-10-13 15:22:28 +08:00

23 lines
452 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__ . '/tests',
]);
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setUsingCache(false)
->setFinder($finder);