akalongman / akalongman/sublimetext-codeformatter
PHP formatter thinks method is for loop
Aberta
- Linguagem predominante
- Python
- Estrelas
- 772
- Forks
- 128
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
there is a bug, the package things this method is a for loop and its adds { }, if i change the method name to something else forTest(). the { } doesnt get added.
before
```
$results = QueryBuilder::for(TankReport::class)->allowedFilters(Filter::exact('model_id'));
```
after
```
$results = QueryBuilder::for (TankReport::class) {
->allowedFilters(Filter::exact('model_id'));
}
```
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.