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

#155: Missing PHP 7.2 support #173

Merged
merged 2 commits into from Aug 21, 2018
Merged

#155: Missing PHP 7.2 support #173

merged 2 commits into from Aug 21, 2018

Conversation

BR0kEN-
Copy link
Contributor

@BR0kEN- BR0kEN- commented Jun 2, 2018

@coveralls
Copy link

coveralls commented Jun 2, 2018

Coverage Status

Coverage decreased (-0.04%) to 79.872% when pulling b151859 on BR0kEN-:issues/155 into 5c01aa2 on hirak:master.

@BR0kEN-
Copy link
Contributor Author

BR0kEN- commented Jun 2, 2018

Here it is - https://travis-ci.org/hirak/prestissimo/jobs/387040415, the issue with PHP 7.2.

@siliconmeadow
Copy link

Do you need to specify some asserts? I'm not a unit testing expert by the way...

@BR0kEN-
Copy link
Contributor Author

BR0kEN- commented Jun 2, 2018

@siliconmeadow, we don't since any notice/warning/exception - tests failures.

@NickDickinsonWilde
Copy link

NickDickinsonWilde commented Jun 4, 2018

I can confirm this fixes
[ErrorException]
count(): Parameter must be an array or an object that implements Countable

In my case, this was caused by:
Script DrupalComposer\DrupalScaffold\Plugin::scaffold, but could happen with any, just including that for future searchers until this gets merged.

@juampynr
Copy link

Worked for me too. I was experiencing this error on composer update drupal/core:

Writing lock file
Generating autoload files
  [merge-plugin] Already merged web/modules/custom/ls_taxonomy/composer.json completely
  - Downloading 1/16: https://cgit.drupalcode.org/drupal/plain/sites/development.services.yml
  - Downloading 3/16: https://cgit.drupalcode.org/drupal/plain/sites/example.settings.local.php
  - Downloading 3/16: https://cgit.drupalcode.org/drupal/plain/robots.txt
  - Downloading 4/16: https://cgit.drupalcode.org/drupal/plain/sites/default/default.settings.php
  - Downloading 5/16: https://cgit.drupalcode.org/drupal/plain/sites/default/default.services.yml
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/sites/example.sites.php
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/index.php
  - Downloading 9/16: https://cgit.drupalcode.org/drupal/plain/web.config
  - Downloading 9/16: https://cgit.drupalcode.org/drupal/plain/.htaccess
  - Downloading 11/16: https://cgit.drupalcode.org/drupal/plain/.ht.router.php
  - Downloading 11/16: https://cgit.drupalcode.org/drupal/plain/.eslintrc.json
  - Downloading 13/16: https://cgit.drupalcode.org/drupal/plain/update.php
  - Downloading 13/16: https://cgit.drupalcode.org/drupal/plain/.gitattributes
  - Downloading 14/16: https://cgit.drupalcode.org/drupal/plain/.editorconfig
  - Downloading 15/16: https://cgit.drupalcode.org/drupal/plain/.eslintignore
  - Downloading 16/16: https://cgit.drupalcode.org/drupal/plain/.csslintrc

                                                                              
  [ErrorException]                                                            
  count(): Parameter must be an array or an object that implements Countable  
                                                                              

Exception trace:
 () at /home/juampy/.composer/vendor/hirak/prestissimo/src/CurlMulti.php:156

@hirak hirak merged commit 7cc3268 into hirak:master Aug 21, 2018
@hirak
Copy link
Owner

hirak commented Aug 21, 2018

thanks!

@BR0kEN-
Copy link
Contributor Author

BR0kEN- commented Aug 24, 2018

Thanks for merging! Let's create a release, please.

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

6 participants