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

PHP7 compatibility problem #127

Open
alexc-hollywood opened this issue Feb 16, 2017 · 3 comments
Open

PHP7 compatibility problem #127

alexc-hollywood opened this issue Feb 16, 2017 · 3 comments

Comments

@alexc-hollywood
Copy link

require is set to be "dev-master".

  - Updating greggilbert/recaptcha dev-master (fb835b2 => cffaaa6)Executing command (/Users/anon/WEBHOSTS/site/vendor/greggilbert/recaptcha): git show-ref --head -d
Executing command (/Users/anon/WEBHOSTS/site/vendor/greggilbert/recaptcha): git diff --name-status composer/master...master --
Executing command (/Users/anon/WEBHOSTS/site/vendor/greggilbert/recaptcha): git status --porcelain --untracked-files=no
    The package has modified files:
    M .gitignore
    M .travis.yml
    M LICENSE
    M README.md
    M composer.json
    M phpunit.xml
    M public/.gitkeep
    M src/Facades/Recaptcha.php
    M src/Recaptcha.php
    M src/RecaptchaServiceProvider.php

                                   
  [ErrorException]                 
  A non-numeric value encountered  
                                   

Exception trace:
 () at phar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:254
 Composer\Util\ErrorHandler::handle() at phar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:254
 Composer\Downloader\GitDownloader->cleanChanges() at phar:///usr/local/bin/composer/src/Composer/Downloader/VcsDownloader.php:135
 Composer\Downloader\VcsDownloader->update() at phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:268
 Composer\Downloader\DownloadManager->update() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:207
 Composer\Installer\LibraryInstaller->updateCode() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:109
 Composer\Installer\LibraryInstaller->update() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:193
 Composer\Installer\InstallationManager->update() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:160
 Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer/src/Composer/Installer.php:584
 Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:223
 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:158
 Composer\Command\UpdateCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:257
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:849
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:193
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:227
 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:124
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100
 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:52
 require() at /usr/local/bin/composer:24
@greggilbert
Copy link
Owner

This isn't a PHP7 issue as far as I can see; this seems like a Composer problem. Or did you maybe change something in vendor/greggilbert/recaptcha? I'd say delete the entire vendor/greggilbert/recaptcha folder and do composer install to get a fresh copy.

@marceloagil
Copy link

I'm using with php7 with no problems. This should be something else.

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

4 participants
@greggilbert @alexc-hollywood @marceloagil and others