Loading core/lib/Drupal.php +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ class Drupal { /** * The current system version. */ const VERSION = '11.0-dev'; const VERSION = '11.2-dev'; /** * Core API compatibility. Loading core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php +5 −0 Original line number Diff line number Diff line Loading @@ -424,6 +424,11 @@ protected function makeVendorPackage($repository_path): void { */ protected function getCoreStability() { $version = \Drupal::VERSION; // If the current version is x.y-dev then this is the equivalent of the main // branch and should be treated as a dev release. if (preg_match('/^(\d)+\.(\d)+-dev$/', $version)) { return 'dev'; } $stability = VersionParser::parseStability($version); if ($stability === 'dev') { // Strip off "-dev"; Loading Loading
core/lib/Drupal.php +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ class Drupal { /** * The current system version. */ const VERSION = '11.0-dev'; const VERSION = '11.2-dev'; /** * Core API compatibility. Loading
core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php +5 −0 Original line number Diff line number Diff line Loading @@ -424,6 +424,11 @@ protected function makeVendorPackage($repository_path): void { */ protected function getCoreStability() { $version = \Drupal::VERSION; // If the current version is x.y-dev then this is the equivalent of the main // branch and should be treated as a dev release. if (preg_match('/^(\d)+\.(\d)+-dev$/', $version)) { return 'dev'; } $stability = VersionParser::parseStability($version); if ($stability === 'dev') { // Strip off "-dev"; Loading