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

installer: PHP 7.2 compatibility fixes #13326

Merged
merged 1 commit into from
Dec 20, 2018
Merged

Conversation

mlutfy
Copy link
Member

@mlutfy mlutfy commented Dec 19, 2018

Overview

On PHP 7.2, the installer generates PHP warnings: "Warning: count(): Parameter must be an array or an object that implements Countable in [...]".

Reported: https://chat.civicrm.org/civicrm/pl/s9ehffmx9pdhjeq4azxnkmo85e

Before

warning

After

no warning

Technical Details

The variables are not properly initialized, but I didn't feel like messing around more than necessary in this deprecated code.

@civibot
Copy link

civibot bot commented Dec 19, 2018

(Standard links)

@civibot civibot bot added the master label Dec 19, 2018
@totten
Copy link
Member

totten commented Dec 20, 2018

Thanks. Agree this looks fine.

@totten totten merged commit 281df2f into civicrm:master Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants