-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Core] Raise minimum PHP requirement to 7.3 #5723
Conversation
Will also require to update README.CentOS7.md files (currently in 22.0-release). |
PHP 7.3 is required to use phpstan, so this is blocking #5356. |
PHP 7.4 is out so this PR can go ahead. It's possible that Travis doesn't yet support this in the build environments though. |
Adding Blocked because TravisCI doesn't yet support testing against the PHP 7.4 release. |
Blocked by issue #5762 |
This is no longer blocked, phan was updated. |
@driusan Please review as this is no longer blocked by phan and is also holding up other PRs. |
} | ||
|
||
$project = \Project::getProjectFromID($project_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change in behaviour? Why is this required for 7.3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than that if it's passing Travis, it looks like changes are minimal so it's good enough for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not required. It was an enhancement but I agree it's not very helpful here. I'll revert this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good pending travis
Brief summary of changes
PHP 7.2 is no longer receiving active support as of Nov. 30th, 2019. PHP 7.4 is being released at about the same time.
Typically we only support the last two releases of PHP. This PR brings the minimum requirement up to 7.3 from 7.2.
Detailed changes between these versions can be found here: https://www.php.net/manual/en/migration73.php
I'm adding the Security label because this upgrade will enable all LORIS instances to be fully protected from CSRF attacks via the SameSite cookie.
Links to related tickets (GitHub, Redmine, ...)