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

in_array() expects parameter 2 to be array, string given when installing #12

Closed
aheaume opened this issue Feb 16, 2018 · 1 comment
Closed

Comments

@aheaume
Copy link

aheaume commented Feb 16, 2018

In a fresh directory, composer require lbaey/chromedriver fails

/tmp/chromedriver
➜ composer require lbaey/chromedriver
Using version ^1.1 for lbaey/chromedriver
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing lbaey/chromedriver (1.1.0): Downloading (100%)         
Writing lock file
Generating autoload files
Please select the platform :
  [linux32] Linux 32Bits
  [linux64] Linux 64Bits
  [mac64  ] Mac OS X
  [win32  ] Windows
 > linux64

                                                            
  [ErrorException]                                          
  in_array() expects parameter 2 to be array, string given  
                                                            

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
@aheaume
Copy link
Author

aheaume commented Feb 21, 2018

This looks related to composer/composer#7106

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

No branches or pull requests

1 participant