TomasVotruba / bladestan

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

Cache and false positive/negative results #103

Closed fabio-ventura closed 1 month ago

fabio-ventura commented 1 month ago

Hi, when I run phpstan, I get results that are not reliable. To have reliable results I have to delete the cache files:

/tmp/*-blade-compiled.php
/tmp/cachegrind.out.*.gz
/tmp/phpstan

But I guess it's something inside /tmp/phpstan

This only happens for views.

AJenbo commented 1 month ago

Duplicate of https://github.com/TomasVotruba/bladestan/issues/85 / https://github.com/TomasVotruba/bladestan/issues/69

P.s. use phpstan clear-result-cache for clearing PHPStan's cache.