akalongman / akalongman/sublimetext-codeformatter

PHP formatter thinks method is for loop

オープン
#397 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
772
フォーク
128
PR マージ指標
30日以内にマージされた PR はありません

説明

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'));
}
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。