From 8ee59792883e9780e0b1308cd80c00d487e382e8 Mon Sep 17 00:00:00 2001 From: erickskrauch Date: Tue, 7 Aug 2018 12:07:27 +0300 Subject: [PATCH] Added array_syntax fixer --- src/Rules.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Rules.php b/src/Rules.php index 0785f2d..ad93090 100644 --- a/src/Rules.php +++ b/src/Rules.php @@ -7,6 +7,9 @@ class Rules { private static $rules = [ '@PSR2' => true, + 'array_syntax' => [ + 'syntax' => 'short', + ], 'binary_operator_spaces' => true, 'braces' => [ 'position_after_functions_and_oop_constructs' => 'same',