On Mon, Jan 23, 2017 at 3:29 PM, Erik Bernhardson < ebernhardson@wikimedia.org> wrote:
There are a few options for handling this but i wanted to see what other people think:
- Fork the library, publish it under wikimedia/elastica, and change the
minimum version to 5.5.x This is a bit of a pain, but accomplishes the goal
- Fake the platform[1] in mediawiki/vendor composer.json. This is
sub-optimal because it applies to everything, not just a single dependency. I could see us accidentally pulling in code that will not meet our requirements.
- We could use `--ignore-platform-reqs` on the command line, but this has
the same problem as previously
- We could hope external developers will answer our pleas for supporting
EOL php, but i've emailed the elastica dev and they arn't interested in supporting EOL PHP.
There's also the "bump MediaWiki's requirement to 5.6" option. ;)