mirror of
https://gh.wpcy.net/https://github.com/nlemoine/wp-cli-fixtures.git
synced 2026-05-24 12:53:41 +08:00
26 lines
588 B
PHP
26 lines
588 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->path('command.php')
|
|
->path('src/')
|
|
->in(__DIR__)
|
|
;
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'array_syntax' => [
|
|
'syntax' => 'short'
|
|
],
|
|
'binary_operator_spaces' => [
|
|
'default' => 'align_single_space_minimal'
|
|
],
|
|
'ordered_imports' => true,
|
|
'trailing_comma_in_multiline_array' => true,
|
|
'concat_space' => [
|
|
'spacing' => 'one'
|
|
],
|
|
'blank_line_before_statement' => true
|
|
])
|
|
->setFinder($finder)
|
|
;
|