The purpose of this project is to leverage Github Actions to build a Drupal 10 site, install the above module, and conduct the following:
- Static Analysis: Use phpstan-drupal extension for phpstan to conduct a static scan of the module codebase for deprecations for both PHP 8 and Drupal 10.
- Coding Standards: Check for compliance with Drupal Coding Standards.
- Unit Tests: Execute any unit tests included in the module's codebase to make sure that unit testing integrity is intact after patching for deprecations and coding standards compliance.
Analysis Type | Results | Test Run |
---|---|---|
Static Analysis: | Static Analysis | |
Coding Standards: | Coding Standards | |
Unit Tests: | Unit Tests |
- Execute
ddev start
andddev install
to install a working copy of Drupal with this project for unit testing purposes. - That command finishes with
ddev drush uli
, providing you with a one-time login link. - View the status of the installed project at Reports > Upgrade status
(
/admin/reports/upgrade-status
). - Use
ddev
to list available commands. Useddev cmd --help
orddev help cmd
for more information on a specific command. This project defines at least the following custom commands:coding-standards
install
static-analyze
unit-tests