From 137e72ff24fbcd8a099dd9a339f6eff982f96f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 27 Aug 2021 10:30:17 +0200 Subject: [PATCH] Enhancement: Configure braces fixer to position opening braces for closures on next line --- .php-cs-fixer.dist.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 2fb96e9ab0c..592d820d708 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -63,7 +63,9 @@ 'yield', ], ], - 'braces' => true, + 'braces' => [ + 'position_after_anonymous_constructs' => 'next', + ], 'cast_spaces' => true, 'class_attributes_separation' => [ 'elements' => [