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

Downgrade code to be PHP 7.0 compliant. #162

Merged
merged 1 commit into from
Dec 4, 2021
Merged

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Dec 3, 2021

We need codechecker to continue working with PHP 7.0, because
it's used by moodle-plugin-ci that supports that version.

Hence, we have to downgrade code till it's decided to raise
requirements in both products.

Not much problem, only a few code recently introduced
(using some optional return type hinting that was added
with PHP 7.1) needs to be downgraded.

We need codechecker to continue working with PHP 7.0, because
it's used by moodle-plugin-ci that supports that version.

Hence, we have to downgrade code till it's decided to raise
requirements in both products.

Not much problem, only a few code recently introduced
(using some optional return type hinting that was added
with PHP 7.1) needs to be downgraded.
@stronk7
Copy link
Member Author

stronk7 commented Dec 4, 2021

Have created #162 to revert this once we raise requirements to PHP 7.2 and up.

@stronk7 stronk7 merged commit 53f6402 into moodlehq:master Dec 4, 2021
@stronk7
Copy link
Member Author

stronk7 commented Dec 4, 2021

Self-merging to make a new release ASAP.

@stronk7 stronk7 deleted the php70fix branch December 4, 2021 00:09
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.

1 participant