Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

php unit freezes on composer update #77

Open
newtonianb opened this issue Dec 23, 2013 · 1 comment
Open

php unit freezes on composer update #77

newtonianb opened this issue Dec 23, 2013 · 1 comment

Comments

@newtonianb
Copy link

I wanted to experiment with a couple changes so what I did is instead of including wardrobe cms in my composer.json I cloned the project to my workbench and substituted

    "laravel/framework": "4.0.*",

for

    "illuminate/support": "4.0.x",
    "illuminate/view": "4.0.x",

However everytime I run composer update it freezes on phpunit. When I removed php unit it works ok.

Updating dependencies (including require-dev)
 - Installing phpunit/phpunit (3.7.x-dev aa4789d)
   Cloning aa4789d63dc5fd8f2036e5867b94e481b201c807



 [Symfony\Component\Process\Exception\ProcessTimedOutException]
 The process "git clone "https://github.com/sebastianbergmann/phpunit.git" "P:\WardrobeProjectvendor\prj\workbench\wardrobe-core\vendor\phpunit/phpunit" && cd /D "P:\WardrobeProjectvendor\prj\workbench\wardrobe-core\vendor\phpunit/phpunit" && git remote add composer "https://github.com/sebastianbergmann/phpunit.git" && git fetch composer" exceeded the timeout of 300 seconds.



pdate [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]
@carvefx
Copy link

carvefx commented Dec 29, 2013

you could try

composer update --prefer-dist

This is the opposite of --prefer-source, and might speed up your composer update/
See more here: http://getcomposer.org/doc/03-cli.md#update

OR

an alternative solution would be to increase max script run time in your php.ini, although I wouldn't recommend this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants