From 8c17007866cedb56266286c6ecdfd66e2d1106a3 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 28 Oct 2019 10:55:38 +0000 Subject: [PATCH 1/2] Delete .php_cs --- .php_cs | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .php_cs diff --git a/.php_cs b/.php_cs deleted file mode 100644 index 83782b0f551..00000000000 --- a/.php_cs +++ /dev/null @@ -1,14 +0,0 @@ -in(__DIR__); - -$config = PhpCsFixer\Config::create() - ->setRiskyAllowed(true) - ->setRules([ - - ]) - ->setFinder($finder) -; - -return $config; From 6f8fff215c55249f18a13040e0915c4ab410b701 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 28 Oct 2019 10:56:51 +0000 Subject: [PATCH 2/2] Enabled return_assignment on StyleCI --- .styleci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.styleci.yml b/.styleci.yml index 504456e7afa..4187da89396 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,5 +1,8 @@ preset: recommended +enabled: + - return_assignment + disabled: - align_double_arrow - no_multiline_whitespace_before_semicolons