greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
714 stars 197 forks source link

PHP7 compatibility problem #127

Open alexc-hollywood opened 7 years ago

alexc-hollywood commented 7 years ago

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 commented 7 years ago

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 commented 6 years ago

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