Download the PHP package fivejars/drupal-quality-check without Composer
On this page you can find all versions of the php package fivejars/drupal-quality-check. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fivejars/drupal-quality-check
More information about fivejars/drupal-quality-check
Files in fivejars/drupal-quality-check
Download fivejars/drupal-quality-check
More information about fivejars/drupal-quality-check
Files in fivejars/drupal-quality-check
Vendor fivejars
Package drupal-quality-check
Short Description Setups code quality checking tools for FiveJars Drupal project.
License GPL-2.0-or-later
Homepage https://github.com/fivejars/drupal-quality-check
Package drupal-quality-check
Short Description Setups code quality checking tools for FiveJars Drupal project.
License GPL-2.0-or-later
Homepage https://github.com/fivejars/drupal-quality-check
Please rate this library. Is it a good library?
Informations about the package drupal-quality-check
FiveJars Drupal quality check package
Overview
Provides set of libraries to easily setup code quality checks based on GrumPHP for Drupal project.
Install
- Add this package using composer
composer require --dev fivejars/drupal-quality-check - Copy configuration files(
grumphp.yml.dist,phpmd.xml.dist,phpstan.neon.dist) in project's root directory (not Drupal root directory) without.distsuffix(grumphp.yml,phpmd.xml,phpstan.neon). - Overview and change configuration according to your project requirements.
- Copy the scripts section from
composer.scripts.jsonto your projectcomposer.jsonor merge it usingwikimedia/composer-merge-plugin.
That's it. Now, GrumPHP tasks run on every git commit.
Also you can to run other tasks using composer scripts.
Note: As part of install, GrumPHP adds
pre-commithook to repository. Existingpre-commitmight get destroyed when install/uninstall.
Composer Scripts
composer grumphp- Run GrumPHP for the project files added to Gitcomposer phpmetrics- Generate PHP Metrics for project files from configured directories(see composer.scripts.json in the package root)composer phpstan- Run PHPStan for the project files from configured directories(see phpstan.neon in your project root)composer phpcs YOUR_DIR- Run PHPCS on the directory from command argument.composer phpcbf YOUR_DIR- Run PHPCBF on the directory from command argument.composer phpmd- Run PHPMD for the project files from configured directories(see phpmd.xml in your project root)composer phpmnd- Run PHPMD for the project files from configured directories(see composer.scripts.json in the package root)composer twigcs YOUR_DIR- Run TwigCS on the directory from command argument.
Features
- PHPCS with Drupal standard.
- PHP Lint
- YAML Lint
- Composer
- Composer Normalize
- JSONLint
- PHPStan
- TwigCS
- PHPCompatibility
- PHPMetrics
Long list checks/validators available here.
All versions of drupal-quality-check with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
acquia/coding-standards Version ^3.0
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
drupal/coder Version ^8.3
ergebnis/composer-normalize Version ^2.52
ergebnis/phpstan-rules Version ^2.13
friendsoftwig/twigcs Version ^6.6
mglaman/phpstan-drupal Version ^2.0
pdepend/pdepend Version 3.x-dev
php-parallel-lint/php-parallel-lint Version ^1.4
phpcompatibility/php-compatibility Version ^10.0.0-alpha1
phpmd/phpmd Version 3.x-dev
phpmetrics/phpmetrics Version ^3.0@rc
phpro/grumphp-shim Version ^2.20
phpstan/extension-installer Version ^1.4
phpstan/phpstan Version ^2.1
povils/phpmnd Version ^3.6
squizlabs/php_codesniffer Version ^3.13
acquia/coding-standards Version ^3.0
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
drupal/coder Version ^8.3
ergebnis/composer-normalize Version ^2.52
ergebnis/phpstan-rules Version ^2.13
friendsoftwig/twigcs Version ^6.6
mglaman/phpstan-drupal Version ^2.0
pdepend/pdepend Version 3.x-dev
php-parallel-lint/php-parallel-lint Version ^1.4
phpcompatibility/php-compatibility Version ^10.0.0-alpha1
phpmd/phpmd Version 3.x-dev
phpmetrics/phpmetrics Version ^3.0@rc
phpro/grumphp-shim Version ^2.20
phpstan/extension-installer Version ^1.4
phpstan/phpstan Version ^2.1
povils/phpmnd Version ^3.6
squizlabs/php_codesniffer Version ^3.13
The package fivejars/drupal-quality-check contains the following files
Loading the files please wait ...