Any requirements of MediaWiki core to depend upon PHP extensions should
be handled in the installer rather than checkComposerLockUpToDate.php, which
doesn't work anyways since PHP extensions are not included in the lock file.
Change-Id: Ib7af7ccf2f10bc941222d1ce534c7c20690b4c6f
public function getRequiredDependencies() {
$deps = array();
foreach ( $this->contents['require'] as $package => $version ) {
- if ( $package !== "php" ) {
+ if ( $package !== "php" && strpos( $package, 'ext-' ) !== 0 ) {
$deps[$package] = self::normalizeVersion( $version );
}
}