Page MenuHomePhabricator

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


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.

$str = "hello ${world}";
$str = "hello {$world}";

Event Timeline

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