这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jakzal
Copy link
Owner

@jakzal jakzal commented Mar 23, 2019

Otherwise there is no guarantee which version of the library the link was created for, as there might be still multiple versions installed. The composer-bin-plugin will link to the first one that was installed. It might not be the one we expected.

i.e. rector installed phpstan in version 0.11.3 as one of its dependencies. phpstan 0.11.4 was also directly requested to be installed in a different composer-bin-plugin namespace. Since rector's phpstan was installed first, the link was pointing to the 0.11.3 version instead of 0.11.4 we expected. As a consequence no phpstan plugins could be loaded.

jakzal added 3 commits March 23, 2019 10:02
Otherwise there is no guarantee which version of the library the link was created for, as there might be still multiple versions installed. The plugin will link to the first one that was installed. It might not be the one we expected.

i.e. rector installed phpstan in version 0.11.3 as one of its dependencies. phpstan 0.11.4 was also directly requested to be installed in a different composer-bin-plugin namespace. Since rectors phpstan was installed first, the link was pointing to the 0.11.3 version instead of 0.11.4 we expected. As a consequence no phpstan plugins could be loaded.
@jakzal jakzal merged commit 9f8b1b7 into master Mar 23, 2019
@jakzal jakzal deleted the links branch March 23, 2019 15:16
jakzal added a commit to jakzal/phpqa that referenced this pull request Mar 23, 2019
Bug fixes:

* Manually link to composer-bin-plugin installed commands to guarantee the correct version of a tool is used jakzal/toolbox#73

Updates:

* phan (1.2.6 -> 1.2.7)
jakzal added a commit to jakzal/phpqa that referenced this pull request Mar 23, 2019
Bug fixes:

* Manually link to composer-bin-plugin installed commands to guarantee the correct version of a tool is used jakzal/toolbox#73

Updates:

* phan (1.2.6 -> 1.2.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants