Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
composer global require 'halleck45/phpmetrics'
root@ubuntu:/home/rei/www/project/test# composer global require 'halleck45/phpmetrics'
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.
Changed current directory to /root/.composer
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.
Using version ~1.1 for halleck45/phpmetrics
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing symfony/yaml (v2.6.6)
Downloading: 100%
- Installing symfony/filesystem (v2.6.6)
Downloading: 100%
- Installing symfony/config (v2.6.6)
Downloading: 100%
- Installing hoa/core (2.15.02.18)
Downloading: 100%
- Installing hoa/visitor (1.15.02.26)
Downloading: 100%
- Installing hoa/iterator (1.15.02.20)
Downloading: 100%
- Installing hoa/stream (0.15.02.25)
Downloading: 100%
- Installing hoa/file (0.15.02.19)
Downloading: 100%
- Installing hoa/string (2.15.03.25)
Downloading: 100%
- Installing hoa/compiler (2.15.02.17)
Downloading: 100%
- Installing hoa/regex (0.15.02.24)
Downloading: 100%
- Installing hoa/math (0.15.02.23)
Downloading: 100%
- Installing hoa/ruler (1.15.02.05)
Downloading: 100%
- Installing symfony/console (v2.6.6)
Downloading: 100%
- Installing twig/twig (v1.18.0)
Downloading: 100%
- Installing halleck45/phpmetrics (v1.1.1)
Downloading: 100%
hoa/core suggests installing hoa/console (To use the `hoa` script.)
hoa/core suggests installing hoa/dispatcher (To use the `hoa` script.)
hoa/core suggests installing hoa/router (To use the `hoa` script.)
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/console suggests installing psr/log (For using the console logger)
Writing lock file
Generating autoload files
root@ubuntu:/home/rei/www/project/test# phpmetrics --report-html=myreport.html /home/rei/www/project/test/
phpmetrics: команда не найдена
export PATH=~/.composer/vendor/bin:$PATH

Визуализация качества кода с PhpMetrics