plus i have fixed this error by update composer,if you happen to this just update
on v7.1 it shows
root@san2A:/var/www/html# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Updating doctrine/collections (v1.4.0 => v1.5.0)
The package has modified files:
M .gitattributes
M .gitignore
M .scrutinizer.yml
M .travis.yml
M CONTRIBUTING.md
M LICENSE
M README.md
M composer.json
M lib/Doctrine/Common/Collections/AbstractLazyCollection.php
M lib/Doctrine/Common/Collections/ArrayCollection.php
[ErrorException]
An on-numeric value encountered
with -vvv option here is the
Exception trace:
() at /usr/share/php/Composer/Downloader/GitDownloader.php:223
Composer\Util\ErrorHandler::handle() at /usr/share/php/Composer/Downloader/GitDownloader.php:223
Composer\Downloader\GitDownloader->cleanChanges() at /usr/share/php/Composer/Downloader/VcsDownloader.php:116
Composer\Downloader\VcsDownloader->update() at /usr/share/php/Composer/Downloader/DownloadManager.php:268
Composer\Downloader\DownloadManager->update() at /usr/share/php/Composer/Installer/LibraryInstaller.php:197
Composer\Installer\LibraryInstaller->updateCode() at /usr/share/php/Composer/Installer/LibraryInstaller.php:109
Composer\Installer\LibraryInstaller->update() at /usr/share/php/Composer/Installer/InstallationManager.php:172
Composer\Installer\InstallationManager->update() at /usr/share/php/Composer/Installer/InstallationManager.php:139
Composer\Installer\InstallationManager->execute() at /usr/share/php/Composer/Installer.php:569
Composer\Installer->doInstall() at /usr/share/php/Composer/Installer.php:228
Composer\Installer->run() at /usr/share/php/Composer/Command/UpdateCommand.php:173
Composer\Command\UpdateCommand->execute() at /usr/share/php/Symfony/Component/Console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /usr/share/php/Symfony/Component/Console/Application.php:841
Symfony\Component\Console\Application->doRunCommand() at /usr/share/php/Symfony/Component/Console/Application.php:189
Symfony\Component\Console\Application->doRun() at /usr/share/php/Composer/Console/Application.php:166
Composer\Console\Application->doRun() at /usr/share/php/Symfony/Component/Console/Application.php:120
Symfony\Component\Console\Application->run() at /usr/share/php/Composer/Console/Application.php:99
Composer\Console\Application->run() at /usr/bin/composer:44
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] []...