diff --git a/.php_cs b/.php_cs index 11199d3c..7e1a14bb 100644 --- a/.php_cs +++ b/.php_cs @@ -1,28 +1,6 @@ setRules([ - '@Symfony' => true, - '@Symfony:risky' => true, - 'concat_space' => ['spacing' => 'one'], - 'simplified_null_return' => false, - 'phpdoc_align' => false, - 'phpdoc_separation' => false, - 'phpdoc_to_comment' => false, - 'cast_spaces' => false, - 'blank_line_after_opening_tag' => false, - 'single_blank_line_before_namespace' => false, - 'phpdoc_annotation_without_dot' => false, - 'phpdoc_no_alias_tag' => false, - 'space_after_semicolon' => false, - 'yoda_style' => false, - 'no_break_comment' => false, - // 2019 style updates with cs-fixer 2.14, all above are in sync with kernel - '@PHPUnit57Migration:risky' => true, - 'array_syntax' => ['syntax' => 'short'], - 'static_lambda' => true, - ]) - ->setRiskyAllowed(true) +return EzSystems\EzPlatformCodeStyle\PhpCsFixer\EzPlatformInternalConfigFactory::build() ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__) @@ -32,5 +10,4 @@ return PhpCsFixer\Config::create() 'bundle/Resources/init_ini', ]) ->files()->name('*.php') - ) -; + ); diff --git a/bootstrap.php b/bootstrap.php index 4e5836bd..466becf7 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -1,12 +1,8 @@