Skip to content

Conversation

@bd808
Copy link
Member

@bd808 bd808 commented Nov 21, 2016

Attempt to take action before other Composer plugins that may be in use
by registering our callbacks using the highest possible priority.

Closes #99

@bd808 bd808 added this to the 1.4.0 milestone Nov 21, 2016
@legoktm
Copy link
Member

legoktm commented Nov 21, 2016

Could we pick some arbitrarily high value but not something that people can't override (basically not PHP_INT_MAX). I fear that in the future there'll be some usecase where someone wants to register before the merge-plugin but if we make this the max possible, then that won't be possible at all.

@bd808
Copy link
Member Author

bd808 commented Nov 21, 2016

Yeah, that's reasonable. My big hammer solution here is pretty big.

Attempt to take action before other Composer plugins that may be in use by registering our callbacks using a very high priority (50,000) rather than the default priority of 0. Closes wikimedia#99
@legoktm legoktm merged commit e24d531 into wikimedia:master Jan 6, 2017
@bd808 bd808 deleted the bug/99 branch January 6, 2017 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants