<?php return (new PhpCsFixer\Config()) ->setRules([ '@PSR2' => true, 'concat_space' => ['spacing' => 'one'], 'no_unused_imports' => true, 'ordered_imports' => true, 'new_with_braces' => true, 'method_argument_space' => false, 'whitespace_after_comma_in_array' => true, 'method_argument_space' => [ 'keep_multiple_spaces_after_comma' => true, // for wordpress constants 'on_multiline' => 'ignore', // consider removing this someday ], 'return_type_declaration' => [ 'space_before' => 'none' ], ]) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__) ) ;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
src | Folder | 2755 |
|
|
.php-cs-fixer.dist.php | File | 716 B | 0644 |
|
CHANGELOG.md | File | 5.7 KB | 0644 |
|
CODE_OF_CONDUCT.md | File | 1.93 KB | 0644 |
|
COPYING | File | 11.08 KB | 0644 |
|
LICENSE | File | 10.02 KB | 0644 |
|
README.md | File | 10.32 KB | 0644 |
|
SECURITY.md | File | 329 B | 0644 |
|
autoload.php | File | 1.09 KB | 0644 |
|
composer.json | File | 1.08 KB | 0644 |
|
renovate.json | File | 70 B | 0644 |
|