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

DEP Upgrade to PHP 7.4 explicitly #109

Conversation

GuySartorelli
Copy link
Member

Fixes this error found in UAT error logs:

Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/mysite/releases/b1113f5fcebbb325cdc3a8019f2c6597d58af11e/src/Console/CheckoutCommand.php on line 21

I could just remove the typehint, but it seems better to just upgrade to PHP 7.4 since that's what I was developing on so a) we know it works and b) it's got security fixes that aren't in 7.3

There's a separate card to upgrade to 8.1 in the future, but that's more work so is out of scope right now. This PR is primarily aimed at getting the code from #107 running in ss cloud.

Issue

@emteknetnz emteknetnz merged commit bc035c7 into silverstripe:supported-modules May 2, 2023
5 checks passed
@emteknetnz emteknetnz deleted the pulls/supported-modules/php74 branch May 2, 2023 04:45
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.

None yet

2 participants