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 Use max of PHP 8.0 for x.10 recipes #10

Merged

Conversation

emteknetnz
Copy link
Member

Issue silverstripe/gha-ci#11

Ensure that x.10 recipes have a maximum PHP version on 8.0 - this is to prevent deprecation warnings when running PHP 8.1

Also back filled in some general unit tests

job_creator.php Outdated Show resolved Hide resolved
job_creator.php Show resolved Hide resolved
@emteknetnz emteknetnz force-pushed the pulls/1.1/framework-410 branch 2 times, most recently from 766884b to d9a71d7 Compare July 5, 2022 01:27
@emteknetnz emteknetnz force-pushed the pulls/1.1/framework-410 branch from d9a71d7 to 7317bd3 Compare July 5, 2022 01:29
Comment on lines +94 to +96
if (preg_match('#^[1-9]$#', $branch)) {
$branchMajor = $branch;
} elseif (preg_match('#^([1-9])\.[0-9]+$#', $branch, $matches)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These won't work for major 10.x, but we're a long way off that so I'm not concerned about it. Just pointing it out as a matter of course.

@GuySartorelli GuySartorelli merged commit 7675cd9 into silverstripe:1.1 Jul 5, 2022
@GuySartorelli GuySartorelli deleted the pulls/1.1/framework-410 branch July 5, 2022 01:50
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.

2 participants