Closed
Description
Thanks for this software. It is awesome.
I found that this instruction did not work for me:
# install the package as a dev dependency
composer require phpmetrics/phpmetrics --dev
# run PHPMetrics to analyze a folder and generate a report
php ./vendor/bin/phpmetrics --report-html=myreport <folder-to-analyze>
the file to run is a bash file so it should be sh ./vendor instead of php ./vendor:
# install the package as a dev dependency
composer require phpmetrics/phpmetrics --dev
# run PHPMetrics to analyze a folder and generate a report
sh ./vendor/bin/phpmetrics --report-html=myreport <folder-to-analyze>