Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6125

Composer is not updating the dependencies, complaining about package names

$
0
0

I'm currently trying to update the MediaWiki.

My current MW version: 1.27.0
Version I want to update to: 1.35.0
PHP: 7.0.3
OS: Ubuntu 24.04

When I'm trying to run composer update or composer install, I'm receiving an error:

Script ComposerHookHandler::onPreUpdate handling the pre-update-cmd event terminated with an exceptionIn Package.php line 723:Package::setProvides must be called with a map of lowercased package name => Link object, got a indexed array, this is depricated and you should fix your usage

I've already checked the composer.json and all of the components names in "require" are lowercased. e.g.:

{"name": "mediawiki/core","description": "Free software wiki application developed by the Wikimedia Foundation and others","keywords": ["mediawiki", "wiki"],"homepage": "https://www.mediawiki.org/","authors": [        {"name": "MediaWiki Community","homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"        }    ],"license": "GPL-2.0+","support": {"issues": "https://bugs.mediawiki.org/","irc": "irc://irc.freenode.net/mediawiki","wiki": "https://www.mediawiki.org/"    },"require": {"composer/semver": "1.4.0","cssjanus/cssjanus": "1.1.2","ext-ctype": "*",        ...

How can I solve it? Thanks in advance.


Viewing all articles
Browse latest Browse all 6125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>