Skip to content

Commit

Permalink
Merge pull request vijaycs85#12 from SignWo/feature/composernormalize
Browse files Browse the repository at this point in the history
Feature: Add Composer Normalize
  • Loading branch information
vijaycs85 authored Aug 7, 2019
2 parents 04232f4 + 42663e0 commit c84b34e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ That's it. Now, all tasks (listed below) run on every `git commit`.
2. [PHPLint](http://www.icosaedro.it/phplint/)
3. [YAML Lint](http://www.yamllint.com/)
4. [Composer](https://github.com/composer/composer)
5. [JSONLint](https://jsonlint.com/)
6. [PHP Copy/Paste Detector (CPD)](https://github.com/sebastianbergmann/phpcpd)
5. [Composer Normalize](https://github.com/localheinz/composer-normalize)
6. [JSONLint](https://jsonlint.com/)
7. [PHP Copy/Paste Detector (CPD)](https://github.com/sebastianbergmann/phpcpd)

Long list of additional checks/validators available [here](https://github.com/phpro/grumphp/blob/master/doc/tasks.md#tasks-1).

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "vijaycs85/drupal-quality-checker",
"description": "Setups code quality checking tools for Drupal project.",
"type": "project",
"license": "MIT",
"description": "Setups code quality checking tools for Drupal project.",
"homepage": "https://github.com/vijaycs85/drupal-quality-checker",
"license": "MIT",
"authors": [
{
"name": "Vijaya Chandran Mani",
Expand All @@ -12,12 +12,13 @@
}
],
"require": {
"phpro/grumphp": "^0.11.6",
"composer/composer": "~1.0",
"drupal/coder": "^8.2.12",
"sebastian/phpcpd": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"jakub-onderka/php-parallel-lint": "^0.9.2"
"drupal/coder": "^8.2.12",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"localheinz/composer-normalize": "^1.2",
"phpro/grumphp": "^0.11.6",
"sebastian/phpcpd": "^3.0"
},
"support": {
"issues": "https://github.com/vijaycs85/drupal-quality-checker/issues",
Expand Down
1 change: 1 addition & 0 deletions grumphp.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters:
phplint: ~
yamllint: ~
composer: ~
composer_normalize: ~
jsonlint: ~
phpcpd:
directory: './src'
Expand Down

0 comments on commit c84b34e

Please sign in to comment.