Skip to content

Commit e621cbb

Browse files
authored
Merge pull request #22 from digipolisgent/feature/twigcs-check-custom-modules
Add twig files of custom modules to the twigcs task
2 parents c77a342 + 4d0b529 commit e621cbb

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,32 @@
22

33
All Notable changes to the **Quality Assurance - Drupal** package.
44

5+
## [1.4.13]
6+
7+
### Added
8+
9+
- Add twig files of custom modules to the twigcs task.
10+
511
## [1.4.12]
612

7-
## Changed
13+
### Changed
14+
815
- Update minimal requirement for grumphp.
916

1017
## [1.4.11]
1118

12-
## Fixed
13-
- Fixed deprecated securitychecker from SensioLabs
14-
- Fixed twigcs issue with invalid path
19+
### Fixed
20+
21+
- Fix deprecated securitychecker from SensioLabs
22+
- Fix twigcs issue with invalid path
1523

1624
## [1.4.10]
1725

18-
## Added
19-
- Official Twig linter, see documentation on https://github.com/phpro/grumphp/blob/master/doc/tasks/twigcs.md
20-
- WCAG Twig linter, see https://github.com/NielsdeBlaauw/twigcs-a11y
26+
### Added
27+
28+
- Add Official Twig linter, see documentation on
29+
https://github.com/phpro/grumphp/blob/master/doc/tasks/twigcs.md
30+
- Add WCAG Twig linter, see https://github.com/NielsdeBlaauw/twigcs-a11y
2131

2232
## [1.4.9]
2333

@@ -229,6 +239,7 @@ Initial setup of the qa-drupal package:
229239
- Default config files and checks for a Drupal site.
230240
- Default config files and checks for a Drupal module.
231241

242+
[1.4.13]: https://github.com/digipolisgent/php_package_qa-drupal/compare/1.4.12...1.4.13
232243
[1.4.12]: https://github.com/digipolisgent/php_package_qa-drupal/compare/1.4.11...1.4.12
233244
[1.4.11]: https://github.com/digipolisgent/php_package_qa-drupal/compare/1.4.10...1.4.11
234245
[1.4.10]: https://github.com/digipolisgent/php_package_qa-drupal/compare/1.4.9...1.4.10

configs/grumphp-site.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,19 @@ grumphp:
139139
lockfile: ./composer.lock
140140
run_always: false
141141
twigcs:
142-
path: 'web/themes/custom'
142+
path: './web'
143143
severity: 'warning'
144144
ruleset: 'Digipolisgent\QA\Drupal\Twigcs\Ruleset\Twig'
145145
triggered_by:
146146
- twig
147147
exclude:
148+
- config
149+
- core
150+
- libraries
151+
- modules/contrib
152+
- profiles/contrib
153+
- themes/contrib
154+
- sites
148155
- vendor
149156
yamllint:
150157
whitelist_patterns:

0 commit comments

Comments
 (0)