rentalhost/laravel-insight

Blade: format internal PHP code

rentalhost opened this issue · 0 comments

For some reason, the PHP code inside a Blade expression is not formated.

If you are working with PHP, you have that:

$x=123;   /* before formatting */
$x = 123; /* after formatting */

With Blade:

@php ($x=123) /* before formatting */
@php ($x=123) /* "after" formatting */