-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhpMetrics v3.0.0-rc6 hanging #510
Comments
Tested with your snippet using Docker image PHP
Are you sure about your path? It could be hanging because lots of files are being analyzed. |
What application was used? I my case it was app with single class, but without composer.json/vendor. In system composer was installed. |
I created a folder in |
Thanks for checking. I found halt reason: I call Not sure if it bug or another way of phpmetrics launch should be used. |
This might be a bug similar to #463 I already gave it a try on it but I need to spend more time, and I can't find it right now. In the meantime, try to run your command being located on your project folder only and it should be OK. Sorry for the inconvinience about it. |
Bug report
PhpMetrics v3.0.0-rc6
Composer version 2.8.1 2024-10-04 11:31:01
PHP version 8.1.29
I created directory
PhpMetricsDemo
with single classHello
inside:Call of
PhpMetrics/bin/phpmetrics PhpMetricsDemo
results hanging after outputHanging seems to be caused by Composer analyzer, because composer is not present in my folder.
It should not happens, not all projects have composer.
The text was updated successfully, but these errors were encountered: