Releases: district09/php_package_qa-drupal
Releases · district09/php_package_qa-drupal
1.4.10
Added
- Official Twig linter, see documentation on https://github.com/phpro/grumphp/blob/master/doc/tasks/twigcs.md
- WCAG Twig linter, see https://github.com/NielsdeBlaauw/twigcs-a11y
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
Add setting up a fake Drupal root for tasks who requires it
The PHPStan Drupal plugin to detect deprecations requires a Drupal root.
The implemented pre task event handler adds the missing files so PHPStan "sees" a Drupal installation.
Added the TransactionalFileSystem that automatically cleans up all directories and files created during a task run (merged from 1.3.x).
Extracted the config file merging functionality to a dedicated class.
Fix the PHPUnit/Symfony deprecation warning (Drupal 8)
Deprecations are already detected by PHPStan, no need to detect these also during PHPUnit runs.
Add composer_normalize to the GrumPHP tasks
This task is a wrapper around a composer plugin for tidying up the file composer.json.
Fix incompatible UnitTest::setUp() method (Drupal 9)
Added using the use the Drupal\TestTools\PhpUnitCompatibility\PhpUnit8\ClassWriter to check and
fix incompatible setUp() methods in Drupal Core.
See https://www.drupal.org/node/3114041.