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

"phive status" prints wrong path to XML file #261

Closed
sebastianbergmann opened this issue May 27, 2020 · 1 comment
Closed

"phive status" prints wrong path to XML file #261

sebastianbergmann opened this issue May 27, 2020 · 1 comment
Assignees
Labels

Comments

@sebastianbergmann
Copy link
Member

$ ll phive.xml                 
ls: cannot access 'phive.xml': No such file or directory
$ ll .phive/phars.xml 
-rw-r--r--. 1 sb sb 576 May 27 07:42 .phive/phars.xml

Expected

$ phive status       
Phive 0.14.2 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
PHARs configured in .phive/phars.xml:

Alias/URL       Version Constraint    Installed    Location                                     Key Ids                               

phpab           ^1.25                 1.25.9       /usr/local/src/phpunit/tools/phpab           2A8299CE842DD38C                      
php-cs-fixer    ^2.16                 2.16.3       /usr/local/src/phpunit/tools/php-cs-fixer    E82B2FB314E9906E                      
phpdox          ^0.12                 0.12.0       /usr/local/src/phpunit/tools/phpdox          2A8299CE842DD38C                      
phploc          ^4.0                  4.0.1        /usr/local/src/phpunit/tools/phploc          4AA394086372C20A                      
psalm           ^3.6                  3.11.4       /usr/local/src/phpunit/tools/psalm           5567DD1930E31B77, 8A03EA3B385DBAA1    

Actual

$ phive status       
Phive 0.14.2 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
PHARs configured in phive.xml:

Alias/URL       Version Constraint    Installed    Location                                     Key Ids                               

phpab           ^1.25                 1.25.9       /usr/local/src/phpunit/tools/phpab           2A8299CE842DD38C                      
php-cs-fixer    ^2.16                 2.16.3       /usr/local/src/phpunit/tools/php-cs-fixer    E82B2FB314E9906E                      
phpdox          ^0.12                 0.12.0       /usr/local/src/phpunit/tools/phpdox          2A8299CE842DD38C                      
phploc          ^4.0                  4.0.1        /usr/local/src/phpunit/tools/phploc          4AA394086372C20A                      
psalm           ^3.6                  3.11.4       /usr/local/src/phpunit/tools/psalm           5567DD1930E31B77, 8A03EA3B385DBAA1    
@theseer theseer self-assigned this May 27, 2020
@theseer
Copy link
Member

theseer commented May 27, 2020

There's literally no reason to mention the actual filename here. So the fix is simple: Remove the filename ;)

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

No branches or pull requests

2 participants