Blank line before return should not apply when previous line is "case"
Closed this issue · 0 comments
turbo8p commented
It should allow:
switch ($adapter) {
case 'mysql':
return new MysqlAdapter($config->get('database')->toArray());
}
Because there is one rule that enforce us to don't have blank line after case
.