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

Can't install 3.7.x to Linux environment by composer #1144

Closed
sizuhiko opened this issue Feb 17, 2014 · 1 comment
Closed

Can't install 3.7.x to Linux environment by composer #1144

sizuhiko opened this issue Feb 17, 2014 · 1 comment

Comments

@sizuhiko
Copy link

@sizuhiko sizuhiko commented Feb 17, 2014

I want to install into Linux using by composer.
composer.json:

"require": {
    "phpunit/phpunit": "3.7.*"
}

run composer install:

.....
  - Installing phpunit/php-token-stream (dev-master 292f4d5)
    Cloning 292f4d5772dad5a12775be69f4a8dd663b20f103

  - Installing phpunit/php-file-iterator (dev-master acd6903)
    Cloning acd690379117b042d1c8af1fafd61bde001bf6bb

  - Installing phpunit/php-code-coverage (1.2.x-dev 3a60a66)
    Cloning 3a60a660998e8d41d5ea81ff8d96ead546bce150

[RuntimeException]
Failed to execute git checkout '3a60a660998e8d41d5ea81ff8d96ead546bce150' &
& git reset -- hard '3a60a660998e8d41d5ea81ff8d96ead546bce150'

error: Untracked working tree file 'Tests/PHP/CodeCoverage/FilterTest,php'
would be overwritten by merge.

So, I think it problem will be happened by php-code-coverage.
I tried next step:

$ git clone git@github.com:sebastianbergmann/php-code-coverage.git
$ git checkout -b 1.2 origin/1.2
error: Untracked working tree file 'Tests/PHP/CodeCoverage/FilterTest,php'
would be overwritten by merge.

But, mac environment has no problem.
I think the problem happened by renamed folder Tests to tests.

@GrahamCampbell

This comment has been minimized.

Copy link
Contributor

@GrahamCampbell GrahamCampbell commented Feb 17, 2014

This is an issue with git or composer, not phpunit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.