Drupal module that supports Pantheon Edge Integrations and personalization features.
This module runs PHPUnit tests and PHP_CodeSniffer linting via the Drupal Coder package.
PHPUnit tests can be run with Composer with the composer test:unit
command. Additional tests can be added with the same test:
prefix and added to the composer test
command.
PHPCS linting can be run with Composer with the composer lint:php
command. The phpcbf
command can be used to automatically fix linting errors by running composer lint:phpcbf
. Additional linting (e.g. ESLint) can be added with the same lint:
prefix and added to the composer lint
command.