concise icon indicating copy to clipboard operation
concise copied to clipboard

vendor/ path is hardcoded

Open willemstuursma opened this issue 7 years ago • 0 comments

Got the following error running Consise:

vendor-dev/bin/concise --configuration tests/phpunit.xml --group "translations"
PHP Warning:  file_get_contents(/var/www/my-project/vendor-dev/elliotchance/concise/src/Concise/Core/../../../../../../vendor/composer/installed.json): failed to open stream: No such file or directory in /var/www/mccs/vendor-dev/elliotchance/concise/src/Concise/Core/Version.php on line 39

findVendorFolder() should respect COMPOSER_VENDOR_DIR or even better just use a relative path.

willemstuursma avatar Mar 01 '17 10:03 willemstuursma