Skip to content

PHPStan

This job runs phpstan checks on your module.

If there is a baseline file in the module it will use it, but if there isn't, it will just run default values.

It will offer a baseline file for module maintainers to add it to their projects to make adoption easier.

If you do not want it to run in your contrib module, you just need to set SKIP_PHPSTAN to 1.

This job allows multiple variants to check current and future versions of Drupal, as well as the maximum PHP version.

Consider the PHP version when interpreting the results of the PHPStan job, as the analysis may give different results between major versions of PHP.