PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

PhpMetrics v3.0.0-rc6 hanging

Open andrii-pukhalevych opened this issue 4 months ago • 5 comments

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 class Hello inside:

<?php
class Hello {

	public function start(): void {
		echo 'start';
	}
}

Call of PhpMetrics/bin/phpmetrics PhpMetricsDemo results hanging after output

Parsing all files...
Executing system analyzes...

Hanging seems to be caused by Composer analyzer, because composer is not present in my folder. It should not happens, not all projects have composer.

andrii-pukhalevych avatar Oct 07 '24 19:10 andrii-pukhalevych