Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(psalm-matrix): set up minimum supported php version #458

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Nov 16, 2024

Currently, PHP 8.4 will be installed but Psalm is not yet compatible. This will cause the workflow to fail on all apps when run against server master.

Installing the minimum required version should be good enough.

It will still break if newer server versions drop support for old PHP versions and an app spans many server versions (e.g. Groupware apps). This needs to be fixed in the version matrix action directly where the minimum version should be emitted instead of the maximum version.

Failing example: https://github.com/nextcloud/twofactor_webauthn/actions/runs/11871838013/job/33084844902?pr=689 [PHP 8.4]
Working example (with this fix): https://github.com/nextcloud/twofactor_webauthn/actions/runs/11872013494/job/33085209828?pr=690 [PHP 8.1]

@st3iny st3iny added 3. to review Waiting for reviews bug Something isn't working labels Nov 16, 2024
@st3iny st3iny self-assigned this Nov 16, 2024
@st3iny st3iny marked this pull request as draft November 16, 2024 17:32
@st3iny st3iny added 2. developing Work in progress and removed 2. developing Work in progress labels Nov 16, 2024
@st3iny st3iny force-pushed the fix/psalm-matrix/set-up-min-php-version branch from e3b6a02 to 16afb1e Compare November 16, 2024 17:39
@st3iny st3iny force-pushed the fix/psalm-matrix/set-up-min-php-version branch from 16afb1e to f5fc4be Compare November 16, 2024 17:40
@st3iny st3iny marked this pull request as ready for review November 16, 2024 17:40
@juliusknorr juliusknorr merged commit 6b1d6dc into master Nov 18, 2024
7 checks passed
@juliusknorr juliusknorr deleted the fix/psalm-matrix/set-up-min-php-version branch November 18, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants