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

Validate that requested views actually exist #81

Open spawnia opened 9 months ago

spawnia commented 9 months ago

Only adds a failing test case for now. I think fixing this would require a somewhat large code restructuring, so I would like to await feedback before going further.

AJenbo commented 9 months ago

i supose the simplest solution is to just check the error in the try catch and throw a new exception if its a missing file issue.

See https://github.com/TomasVotruba/bladestan/issues/56 for more info on this