From 95e33edc1cfdd0326de92f5dca980f7db0764a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20Rumi=C5=84ski?= Date: Sun, 10 Jan 2021 03:20:21 +0100 Subject: [PATCH] Simplify PHP CS Fixer config --- .php_cs.dist | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 862b6cda7f..e8f089d7e3 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -6,18 +6,13 @@ if (!file_exists(__DIR__.'/src')) { return PhpCsFixer\Config::create() ->setRules([ + '@PHP71Migration' => true, + '@PHPUnit75Migration:risky' => true, '@Symfony' => true, '@Symfony:risky' => true, - '@PHPUnit75Migration:risky' => true, - 'php_unit_dedicate_assert' => ['target' => '5.6'], - 'array_syntax' => ['syntax' => 'short'], - 'fopen_flags' => false, 'protected_to_private' => false, 'native_constant_invocation' => true, - 'combine_nested_dirname' => true, 'list_syntax' => ['syntax' => 'short'], - 'visibility_required' => ['property', 'method', 'const'], - 'ternary_to_null_coalescing' => true, ]) ->setRiskyAllowed(true) ->setFinder(