Add phpstan (max PHP version) job

Created on 1 April 2024, 8 months ago
Updated 16 April 2024, 7 months ago

Problem/Motivation

Currently, there are composer (max PHP version), nightwatch (max PHP version), phpunit (max PHP version) jobs. PHPStan job can also benefit from using the newer PHP version as the output of the analysis can differ between major PHP versions (for example PHP 8.1 vs PHP 8.2).

Proposed resolution

Create a new phpstan (max PHP version) job.
Update documentation in https://project.pages.drupalcode.org/gitlab_templates/jobs/#when-do-the-....
Expand "You can also run the PHPStan job and the tests jobs against previous and/or future versions of Drupal." part of the https://www.drupal.org/project/gitlab_templates page.

Remaining tasks

None.

User interface changes

When OPT_IN_TEST_MAX_PHP = 1 is set in the .gitlab-ci.yml, a new phpstan job appears that uses the $CORE_PHP_MAX version of PHP.

Feature request
Status

Fixed

Component

gitlab-ci

Created by

🇵🇱Poland mscieszka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024