akalongman / akalongman/sublimetext-codeformatter
PHP formatter thinks method is for loop
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 772
- Forks
- 128
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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'));
}
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.