food_server/vendor/yansongda/supports/.php-cs-fixer.php
tk 9ef6902c1d 【类 型】:fix
【主	题】:提交runing字段
【描	述】:
	[原因]:正则匹配 bind_route 添加runing字段 PS:对应取出bind_route的, 即分割符
	[过程]:
	[影响]:
【结	束】
2024-07-09 17:35:54 +08:00

24 lines
748 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()
->exclude('tests')
->exclude('vendor')
->in(__DIR__);
return (new PhpCsFixer\Config())
->setUsingCache(false)
->setRiskyAllowed(true)
->setRules([
'@PhpCsFixer' => true,
'declare_strict_types' => true,
'single_line_comment_style' => ['comment_types' => ['hash']],
'general_phpdoc_annotation_remove' => ['annotations' => ['author'], 'case_sensitive' => false],
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
])
->setFinder($finder);