This project require the NodeJS module HTML Auditor to be installed. Following the modules install instructions.
Ensure that web server has access to operating system PATH
.
# PHP5 using PHP-FPM
vim /etc/php5/fpm/pool.d/www.conf
# PHP7 using PHP-FPM
vim /etc/php/7.0/fpm/pool.d/www.conf
# Uncomment the env[PATH]
env[PATH] = /usr/local/bin:/usr/bin:/bin
# If needed, append install path of html-audit to env[PATH]
which html-audit
$config['html_auditor.settings']['sitemap']['uri'] = 'http://example.com';
# Install development dependencies
composer install
# Run PHP code audits
composer run phpcs
# Run PHP Copy-Paste detector
composer run phpcpd