Skip to content

Superlinter latest version#22

Draft
ozanborafikir wants to merge 23 commits into
mainfrom
superlinter-upgrade
Draft

Superlinter latest version#22
ozanborafikir wants to merge 23 commits into
mainfrom
superlinter-upgrade

Conversation

@ozanborafikir

@ozanborafikir ozanborafikir commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

What change(s) does your PR add?

Currently, we are using super-linter/super-linter/slim@v6.8.0 in our linter workflow which by default includes PHP 8.3 and outdated PHPStan - PHP Static Analysis Tool 1.11.2 version.

With PHP 8.4 Upgrade in Domain API we need to rely on PHP 8.4 and PHPStan - PHP Static Analysis Tool 2.1.49. To accommodate these versions, this PR changes super-linter version to the latest which has PHP 8.4 and PHPStan - PHP Static Analysis Tool 2.1.37 support.

The order of the linter runners is also changed. Previously we were running PHPMD in the first place with only the changed files. However, we already fixed existing issues in the repositories, so there is no longer an issue to run in the entire codebase. We expect to have a phpmd script available in the composer.json.

We need to run the super-linter first, because it is looking for composer files recursively in the workspace. And it tries to install composer files within the vendor directory if the composer is already run.

How did you test your change(s)?

Tested on Domain API PRs.

What do you want feedback on?

This change will lead us to update the linter workflows in all repositories. Do you think it is a problem?

Relevant contextual information?

e.g. documentation/diagrams

@ozanborafikir ozanborafikir changed the title fix: superlinter. Superlinter latest version Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant