Calling Developers!
We are reenergizing our code contribution process! Learn More

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..

@UL6DGRULR phpstan command takes so long to generate a report for this specific file. Please guide

Options
U040LMJF6TY
U040LMJF6TY Posts: 30 🧑🏻‍🚀 - Cadet

@UL6DGRULR phpstan command takes so long to generate a report for this specific file. Please guide me on what to do with it.

Comments

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 🧑🏻‍🚀 - Cadet
    Options

    which phpstan version do u use?

  • U040LMJF6TY
    U040LMJF6TY Posts: 30 🧑🏻‍🚀 - Cadet
    Options

    @UNGMX0012 "phpstan/phpstan": "~1.5.0"

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 🧑🏻‍🚀 - Cadet
    Options

    I dont know your config, but we had issues in the past with Orm related files. You could try to exclude them in your neon file. We have excluded whole Ormdirectory and also *Repository.php and *QueryContainer.php files. You could also try to upgrade phpstan, cause there have been lots of performance updates. I think 1.9.2 is newest version