Issue #3383616 by poker10, Spokje, catch: "core_version_requirement key must be present" on core modules on Windows
parent
987548947c
commit
5ce054a443
|
@ -51,7 +51,7 @@ class InfoParserDynamic implements InfoParserInterface {
|
|||
throw new InfoParserException('Missing required keys (' . implode(', ', $missing_keys) . ') in ' . $filename);
|
||||
}
|
||||
if (!isset($parsed_info['core_version_requirement'])) {
|
||||
if (str_starts_with($filename, 'core/') || str_starts_with($filename, $this->root . '/core/')) {
|
||||
if (str_starts_with($filename, 'core/') || str_starts_with($filename, $this->root . DIRECTORY_SEPARATOR . 'core/')) {
|
||||
// Core extensions do not need to specify core compatibility: they are
|
||||
// by definition compatible so a sensible default is used. Core
|
||||
// modules are allowed to provide these for testing purposes.
|
||||
|
|
Loading…
Reference in New Issue