Merge "Provide a way to restore an old revision with multiple slots."
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index 1f8a27e..3138b37 100644 (file)
@@ -213,7 +213,8 @@ class ExtensionRegistry {
                $autoloadNamespaces = [];
                $autoloaderPaths = [];
                $processor = new ExtensionProcessor();
-               $versionChecker = new VersionChecker( $wgVersion );
+               $phpVersion = PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION;
+               $versionChecker = new VersionChecker( $wgVersion, $phpVersion );
                $extDependencies = [];
                $incompatible = [];
                $warnings = false;