php lint: catch `"${var}"` vs `"{$var}"`
Open, Needs TriagePublic

Description

I personally can never remember which way we like, and on several occasions I've committed the wrong one.

I think xhpast can catch this.

bad
$str = "hello ${world}";
good
$str = "hello {$world}";
avivey created this task.May 16 2016, 8:22 PM
avivey renamed this task from php lint: catch `"${var}"` vs `"{$var}" to php lint: catch `"${var}"` vs `"{$var}"`.
avivey updated the task description. (Show Details)