Skip to content

Commit

Permalink
#33 Add support for non Drupal 8 projects
Browse files Browse the repository at this point in the history
Code Quality tool needs PHP iconv module enabled but
it's not always available by default. That's why
Drupal 8 has added polyfill package for it and it
makes sense to add it to Code Quality too. We want
this tool to be installed as easily as possible.
  • Loading branch information
hkirsman committed Nov 11, 2019
1 parent a0410c3 commit 432f26a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
],
"bin": ["bin/check_perms"],
"require": {
"symfony/polyfill-iconv": "^1",
"wunderio/fake-iconv": "^1",
"phpro/grumphp": "^0.16.0",
"drupal/coder": "^8",
"phpcompatibility/php-compatibility": "^9.3",
Expand All @@ -42,6 +44,9 @@
"mglaman/phpstan-drupal": "^0.11.1",
"phpstan/phpstan-deprecation-rules": "^0.11.0"
},
"provide": {
"ext-iconv": "*"
},
"autoload": {
"psr-4": {
"Wunderio\\GrumPHP\\": "src/"
Expand Down

0 comments on commit 432f26a

Please sign in to comment.