-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
chore: Fix update-psalm-baseline to use correct php version depending on branch #44861
Conversation
Should add it like in apps, e.g. https://github.com/nextcloud/spreed/blob/main/psalm.xml#L8 |
1babaa7
to
f6a443f
Compare
Needs to be adapted on each branch to reflect the used PHP version and help with baseline updating. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
f6a443f
to
9092dcf
Compare
Ok, trying this way then, putting 8.1 in master and will change to 8.0 in the backports. |
/backport to stable29 |
Backporting is not going to work, 29 and lower need 8.0 at least. |
Summary
The workflow currently always use 8.1, it should use the same PHP version as the psalm run on the target branch.Adding the PHP version to psalm.xml so that the update-baseline workflow is aware of it. Backports will need to adapt the PHP version to the one used in their psalm workflow (the lowest PHP version supported usually).
Checklist