cs: add blank_line_before_statement

This commit is contained in:
2021-01-24 23:15:51 +03:00
parent ebf82cf478
commit 33ef674e58

View File

@@ -13,6 +13,9 @@ return (new PhpCsFixer\Config())
'php_unit_test_class_requires_covers' => false,
'yoda_style' => true,
'php_unit_test_case_static_method_calls'=> ['call_type' => 'self'],
'blank_line_before_statement' => [
'statements' => ['continue', 'do', 'die', 'exit', 'goto', 'if', 'return', 'switch', 'throw', 'try']
],
])
->setFinder(
PhpCsFixer\Finder::create()