CakePHP 3.0 introduces Rails-style erb tags in it's bake template files (.ctp).
The tags, <% and %>
, and derivitives, expand to the php <? and ?>
when the template is processed.
However, since PHPStorm doesn't recognize the tags (I've configured .ctp files as php as per Display CTP Files as PHP Files in PHPStorm) as legal php syntax, it decorates all files containing these tags with red squiggly underscore signifying syntax errors.
Anyone know how to include these tags as legal syntax so PHPStorm stops flagging them as errors?