ComposerJson: Ignore dependencies that start with "ext-"
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
This commit is contained in:
parent
439e55d1ea
commit
8e25f1e167
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class ComposerJson {
|
|||
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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue