Closed sherakama closed 3 years ago
It appears that having installed dealerdirect/phpcodesniffer-composer-installer
in my user's home directory ~/.composer/vendor/...etc
and having a copy in my local project /httpdocs/website/vendor/...etc
caused a mismatch in paths. Removing the one in my user's home directory has resolved the issue but I am going to need it there so I will continue to debug.
Version v0.6.0 has just been released. Besides several fixes, this version also adds improved debug/verbose output.
@sherakama Could you try to reproduce the issue you reported with v0.6.0
and let us know if it still happens? If so, please run the plugin in verbose mode and paste the output of the run here (that should make it possible for us to re-produce the issue ourselves).
@sherakama Any feedback ? I would love to know if this is still an issue or if this can be closed.
@sherakama / @jrfnl If there is no response to this ticket by August 28, I am closing this ticket before September 1st.
I am seeing this behavior using latest git-master when using Composer 2.
[InvalidArgumentException]
$from (web/libraries/php_codesniffer/) and $to (/{snip}/vendor/drupal/coder/coder_sniffer) must be absolute paths.
@ossobuffo Could you provide us with a scenario with which this can be reproduced consistently ? Please have a look at the current bug report template to see the kind of details we'd need to investigate this.
@jrfnl It turns out that I had configured a non-default location for library
composer packages to be installed. Once I removed that configuration, it worked fine. Sorry for the noise.
@ossobuffo Thanks for getting back to us. Glad it is solved.
As it's after Sept 1st, per @Potherca's previous comment, I'll close the issue now.
If someone else runs into this at a later point, please open a new issue with sufficient information to reproduce the error.
Problem/Motivation
Expected behaviour
Actual behaviour
Steps to reproduce
I will work on this as I gather more information. See output above.
composer install
Proposed changes