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

Use is_file() instead of file_exists() which is faster #87

Closed staabm closed 9 months ago

TomasVotruba commented 9 months ago

I personally prefer file_exists() as more readable. Thanks

staabm commented 9 months ago

I don't like file_exists because it returns true for directories- which I think is counterintuitive