You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same issue.
It's because phpinsight somehow tries to inspect more files than expected.
(The progress bar in the console shows that there are over 3000 files, but only a few hundred should actually need to be inspected.)
It's not an essential solution, but ./tmp/* should work around the problem for once by deleting.
@Jaimin-Devhero
In my case, the cause was found.
A recent change was made in my project to output PHPStan cache to /tmp.
This was generating a lot of files in /tmp and delaying the execution of phpinsights.
The way to deal with this (assuming you are using Laravel) was to specify the directory to exclude in config/insights.php where there is an 'exclude' entry.
I have the laravel 9 app
insight versions: "nunomaduro/phpinsights": "^2.7",
The text was updated successfully, but these errors were encountered: