Skip to content

Commit

Permalink
Merge pull request #186 from lemberg/feature/175-add-grumphp
Browse files Browse the repository at this point in the history
Add GrumPHP support
  • Loading branch information
T2L committed Apr 16, 2020
2 parents 8617148 + d887460 commit 35b2922
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.gitignore export-ignore
/.travis.yml export-ignore
/molecule export-ignore
/grumphp.yml.dist export-ignore
/phpcs.xml.dist export-ignore
/phpstan.xml.dist export-ignore
/phpunit.xml.dist export-ignore
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@

# Ignore local settings.
/vm-settings.local.yml

# Ignore test configuration overrides.
/grumphp.yml
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Updates:

- [GH-175](https://github.com/lemberg/draft-environment/issues/175) - Add GrumPHP support
- [GH-161](https://github.com/lemberg/draft-environment/issues/161) - Updated Ansible MySQL role to 3.0.0
- [GH-159](https://github.com/lemberg/draft-environment/issues/159) - Upgraded Molecule framework (2 => 3)
- [GH-157](https://github.com/lemberg/draft-environment/issues/157) - Switched to unofficial PPA for Vagrant on Travis; Vagrant 2.2.7 supports VirtualBox 6.1.x
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.0",
"dg/bypass-finals": "^1.1",
"drupal/coder": "^8.3.8",
"ergebnis/composer-normalize": "^2.3",
"ergebnis/phpstan-rules": "^0.14",
"mikey179/vfsstream": "^1.6",
"php-mock/php-mock-phpunit": "^2.5",
"phpro/grumphp": "^0.18.0",
"phpstan/extension-installer": "^1.0.4",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
Expand Down
20 changes: 20 additions & 0 deletions grumphp.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
parameters:
ascii: ~
git_dir: .
bin_dir: vendor/bin
tasks:
composer: ~
composer_normalize: ~
git_commit_message:
enforce_capitalized_subject: false
matchers:
Subject must start with a GitHub issue number: /^\#\d+/
Subject text must start with a capital letter: /^\#\d+\s[A-Z]+/
jsonlint: ~
phpcs:
standard: Drupal,DrupalPractice
ignore_patterns:
- vendor
phplint: ~
phpstan: ~
phpunit: ~

0 comments on commit 35b2922

Please sign in to comment.