blessing-skin-plugins/.php-cs-fixer.dist.php
2023-01-27 10:19:43 +08:00

20 lines
526 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()->in('plugins');
$config = new PhpCsFixer\Config();
return $config->setRules([
'@Symfony' => true,
'align_multiline_comment' => true,
'array_syntax' => ['syntax' => 'short'],
'increment_style' => ['style' => 'post'],
'list_syntax' => ['syntax' => 'short'],
'yoda_style' => false,
'global_namespace_import' => [
'import_constants' => true,
'import_functions' => true,
'import_classes' => null,
],
])
->setFinder($finder);