What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey guys, quick question regarding phpstan: when using `docker/sdk console code:phpstan -vvv` I so

michael.schmetter
michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
edited February 2022 in Help

Hey guys,
quick question regarding phpstan:
when using docker/sdk console code:phpstan -vvv
I sometimes have locally the problem that the result cache is being used and stale results are being displayed.
Running the phpstan command in PhpStanRunner.php itself in debug mode --debug is solving the problem, since no cache is being used there, but that can't be solution.
Did I miss something here using this command?

Comments

  • I also sometimes had this problem, --debug was the only way to solve it, indeed.
    Someone would have to deep dive into that topic and open a bug report with the findings on PHPStan.
    As I assume the cache is somewhere too aggressiv for our needs.

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

    Ok, thanks for confirming, that I'm not totally stupid 🙂