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 count() calls on uncountable variables in \Console_Table class #3292

Merged
merged 1 commit into from
Jan 5, 2018
Merged

Fix count() calls on uncountable variables in \Console_Table class #3292

merged 1 commit into from
Jan 5, 2018

Conversation

Ayesh
Copy link
Contributor

@Ayesh Ayesh commented Jan 5, 2018

This is for #3226.
In PHP 7.2, there is a notice raised because the PEAR console_table makes a \count() call on a variable that is not an array/Countable . Because maintaining a fixed version of this PEAR package is not worth the effort at this stage (Drush 9.x no longer uses this package), we avoid the notice by silencing PHP with the @silent operator.

@Ayesh
Copy link
Contributor Author

Ayesh commented Jan 5, 2018

Some travis builds are failing because connectivity issues to getcomposer.org and Chrome download locations.

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