mirror of
https://github.com/bs-community/blessing-skin-plugins.git
synced 2025-01-07 03:06:43 +08:00
20 lines
526 B
PHP
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);
|