TomasVotruba / bladestan

PHPStan analysis for Blade templates
https://tomasvotruba.com/blog/introducing-bladestan-phpstan-analysis-of-blade-templates/
MIT License
280 stars 13 forks source link

Syntax error, unexpected ',' on line 1 #71

Closed Seb33300 closed 11 months ago

Seb33300 commented 11 months ago

If a blade template has at least 2 @include() and this first has spaces between brackets, a syntax error is returned by the phpstan analyse command:

@include('template.path', ['param' => 'value'] )  <= syntax error because of the space just before )
@include('template.path', ['param' => 'value'])