28 lines
639 B
PHP
Raw Normal View History

<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
return (new Config())
->setFinder(
Finder::create()
->in(__DIR__)
->exclude('vendor')
)
->setRules([
'@Symfony' => true,
'@PhpCsFixer' => true,
'@DoctrineAnnotation' => true,
'list_syntax' => [
'syntax' => 'short'
],
'concat_space' => [
'spacing' => 'one'
],
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
])
->setUsingCache(false);