vijaycs85 / drupal-phpqa
PHPQA implementation for Drupal project.
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 1
Open Issues: 0
Type:drupal-tool
Requires
- drupal/coder: ^8.3
- edgedesign/phpqa: ^1.22
- jakub-onderka/php-parallel-lint: 1.0.0
- sebastian/phpcpd: 4.1.0
- sensiolabs/security-checker: 5.0.3
- squizlabs/php_codesniffer: ^3.4
README
PHPQA with Drupal specific configurations.
Installation
Create as a composer project on drupal root directory.
cd path/to/drupal
composer create-project vijaycs85/drupal-phpqa --stability dev -vvv phpqa
Usage
cd path/to/drupal
cd phpqa
bin/phpqa
By default it runs below checks (on core node module):
CLI result would be:
Visiting http://[drupalsite.url]/phpqa/report/phpqa.html
would look like this:
NOTE
Configuration
All configurations in phpqa/.phpqa.yml
can be overridden by passing cli parameters.
For example, bin/phpqa --analyzedDirs ../core/modules/book
would run all
checks on book module.
Check PHPQA README for full list.