diff --git a/core/includes/update.inc b/core/includes/update.inc
index 4f34dbd4ac..d68765a4c9 100644
--- a/core/includes/update.inc
+++ b/core/includes/update.inc
@@ -9,6 +9,7 @@
*/
use Drupal\Component\Graph\Graph;
+use Drupal\Component\Version\DrupalSemver;
use Drupal\Core\Update\UpdateKernel;
use Drupal\Core\Utility\Error;
@@ -59,7 +60,7 @@ function update_check_incompatibility($name, $type = 'module') {
}
if (!isset($file)
|| !isset($file->info['core'])
- || $file->info['core'] != \Drupal::CORE_COMPATIBILITY
+ || !DrupalSemver::satisfies(\Drupal::VERSION, $file->info['core'])
|| version_compare(phpversion(), $file->info['php']) < 0) {
return TRUE;
}
diff --git a/core/lib/Drupal/Component/Version/DrupalSemver.php b/core/lib/Drupal/Component/Version/DrupalSemver.php
new file mode 100644
index 0000000000..74cdd7be70
--- /dev/null
+++ b/core/lib/Drupal/Component/Version/DrupalSemver.php
@@ -0,0 +1,37 @@
+'
type: theme
description: 'Theme for testing special characters in block admin.'
-core: 8.x
+core: ~8
regions:
content: Content
help: Help
diff --git a/core/modules/block/tests/modules/block_test/themes/block_test_theme/block_test_theme.info.yml b/core/modules/block/tests/modules/block_test/themes/block_test_theme/block_test_theme.info.yml
index 96c76505e1..d4f6325489 100644
--- a/core/modules/block/tests/modules/block_test/themes/block_test_theme/block_test_theme.info.yml
+++ b/core/modules/block/tests/modules/block_test/themes/block_test_theme/block_test_theme.info.yml
@@ -2,7 +2,7 @@ name: 'Block test theme'
type: theme
description: 'Theme for testing the block system'
version: VERSION
-core: 8.x
+core: ~8
regions:
sidebar_first: 'Left sidebar'
sidebar_second: 'Right sidebar'
diff --git a/core/modules/block/tests/modules/block_test_views/block_test_views.info.yml b/core/modules/block/tests/modules/block_test_views/block_test_views.info.yml
index b995c00b90..96dc66008d 100644
--- a/core/modules/block/tests/modules/block_test_views/block_test_views.info.yml
+++ b/core/modules/block/tests/modules/block_test_views/block_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a view and block to test block displays in views.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
- drupal:views
diff --git a/core/modules/block_content/block_content.info.yml b/core/modules/block_content/block_content.info.yml
index 3315a2738e..2339f0f826 100644
--- a/core/modules/block_content/block_content.info.yml
+++ b/core/modules/block_content/block_content.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows the creation of custom blocks through the user interface.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
- drupal:text
diff --git a/core/modules/block_content/tests/modules/block_content_test/block_content_test.info.yml b/core/modules/block_content/tests/modules/block_content_test/block_content_test.info.yml
index 21d755608c..939571c60e 100644
--- a/core/modules/block_content/tests/modules/block_content_test/block_content_test.info.yml
+++ b/core/modules/block_content/tests/modules/block_content_test/block_content_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: "Support module for custom block related testing."
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block_content
diff --git a/core/modules/block_content/tests/modules/block_content_test_views/block_content_test_views.info.yml b/core/modules/block_content/tests/modules/block_content_test_views/block_content_test_views.info.yml
index fb3dd01c54..461b055d24 100644
--- a/core/modules/block_content/tests/modules/block_content_test_views/block_content_test_views.info.yml
+++ b/core/modules/block_content/tests/modules/block_content_test_views/block_content_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views block_content tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block_content
- drupal:views
diff --git a/core/modules/block_place/block_place.info.yml b/core/modules/block_place/block_place.info.yml
index fb5b83a91f..0964194ed5 100644
--- a/core/modules/block_place/block_place.info.yml
+++ b/core/modules/block_place/block_place.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allow administrators to place blocks from any Drupal page'
package: Core (Experimental)
version: VERSION
-core: 8.x
+core: ~8
hidden: true
dependencies:
- drupal:block
diff --git a/core/modules/book/book.info.yml b/core/modules/book/book.info.yml
index d883cc6ead..6355c71511 100644
--- a/core/modules/book/book.info.yml
+++ b/core/modules/book/book.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows users to create and organize related content in an outline.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
configure: book.settings
diff --git a/core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.info.yml b/core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.info.yml
index 192fb7198d..5e2b79ea5a 100644
--- a/core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.info.yml
+++ b/core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for book module breadcrumb testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/book/tests/modules/book_test/book_test.info.yml b/core/modules/book/tests/modules/book_test/book_test.info.yml
index 3300147955..69d0507d78 100644
--- a/core/modules/book/tests/modules/book_test/book_test.info.yml
+++ b/core/modules/book/tests/modules/book_test/book_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for book module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/book/tests/modules/book_test_views/book_test_views.info.yml b/core/modules/book/tests/modules/book_test_views/book_test_views.info.yml
index efc38b43e3..af5994b48b 100644
--- a/core/modules/book/tests/modules/book_test_views/book_test_views.info.yml
+++ b/core/modules/book/tests/modules/book_test_views/book_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views book tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:book
- drupal:views
diff --git a/core/modules/breakpoint/breakpoint.info.yml b/core/modules/breakpoint/breakpoint.info.yml
index 256740c02f..6cdee00c04 100644
--- a/core/modules/breakpoint/breakpoint.info.yml
+++ b/core/modules/breakpoint/breakpoint.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Manage breakpoints and breakpoint groups for responsive designs.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/breakpoint/tests/modules/breakpoint_module_test/breakpoint_module_test.info.yml b/core/modules/breakpoint/tests/modules/breakpoint_module_test/breakpoint_module_test.info.yml
index 06cffa605c..e8d321eaf7 100644
--- a/core/modules/breakpoint/tests/modules/breakpoint_module_test/breakpoint_module_test.info.yml
+++ b/core/modules/breakpoint/tests/modules/breakpoint_module_test/breakpoint_module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test module for breakpoint.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/breakpoint/tests/themes/breakpoint_theme_test/breakpoint_theme_test.info.yml b/core/modules/breakpoint/tests/themes/breakpoint_theme_test/breakpoint_theme_test.info.yml
index 482faf5c63..bf0a84eb14 100644
--- a/core/modules/breakpoint/tests/themes/breakpoint_theme_test/breakpoint_theme_test.info.yml
+++ b/core/modules/breakpoint/tests/themes/breakpoint_theme_test/breakpoint_theme_test.info.yml
@@ -2,5 +2,5 @@ name: 'Breakpoint test theme'
type: theme
description: 'Test theme for breakpoint.'
version: VERSION
-core: 8.x
+core: ~8
base theme: bartik
diff --git a/core/modules/ckeditor/ckeditor.info.yml b/core/modules/ckeditor/ckeditor.info.yml
index 73ca3e3c1d..68c2ed8580 100644
--- a/core/modules/ckeditor/ckeditor.info.yml
+++ b/core/modules/ckeditor/ckeditor.info.yml
@@ -2,7 +2,7 @@ name: CKEditor
type: module
description: "WYSIWYG editing for rich text fields using CKEditor."
package: Core
-core: 8.x
+core: ~8
version: VERSION
dependencies:
- drupal:editor
diff --git a/core/modules/ckeditor/tests/modules/ckeditor_test.info.yml b/core/modules/ckeditor/tests/modules/ckeditor_test.info.yml
index d7d5450ee3..820d6bf229 100644
--- a/core/modules/ckeditor/tests/modules/ckeditor_test.info.yml
+++ b/core/modules/ckeditor/tests/modules/ckeditor_test.info.yml
@@ -1,6 +1,6 @@
name: CKEditor test
type: module
description: Support module for the CKEditor module tests.
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/color/color.info.yml b/core/modules/color/color.info.yml
index 9ea6daf6b5..56a6162119 100644
--- a/core/modules/color/color.info.yml
+++ b/core/modules/color/color.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Allows administrators to change the color scheme of compatible themes.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/color/tests/modules/color_test/color_test.info.yml b/core/modules/color/tests/modules/color_test/color_test.info.yml
index 05d954ff6b..03993e2f06 100644
--- a/core/modules/color/tests/modules/color_test/color_test.info.yml
+++ b/core/modules/color/tests/modules/color_test/color_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test helpers for color module.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml b/core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml
index 4fbd9bf3d9..6fb9375926 100644
--- a/core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml
+++ b/core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml
@@ -2,6 +2,6 @@ name: 'Color test theme'
type: theme
description: 'Theme for testing the color module'
version: VERSION
-core: 8.x
+core: ~8
libraries:
- color_test_theme/base
diff --git a/core/modules/comment/comment.info.yml b/core/modules/comment/comment.info.yml
index b552cf17bf..64e910ffef 100644
--- a/core/modules/comment/comment.info.yml
+++ b/core/modules/comment/comment.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows users to comment on and discuss published content.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:text
configure: comment.admin
diff --git a/core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.info.yml b/core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.info.yml
index fc58fb73cb..4a9b2fd3ef 100644
--- a/core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.info.yml
+++ b/core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing empty title accessibility with Comment module.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:comment
diff --git a/core/modules/comment/tests/modules/comment_test/comment_test.info.yml b/core/modules/comment/tests/modules/comment_test/comment_test.info.yml
index 1a58f742a3..f41601ac0e 100644
--- a/core/modules/comment/tests/modules/comment_test/comment_test.info.yml
+++ b/core/modules/comment/tests/modules/comment_test/comment_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for Comment module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:comment
diff --git a/core/modules/comment/tests/modules/comment_test_views/comment_test_views.info.yml b/core/modules/comment/tests/modules/comment_test_views/comment_test_views.info.yml
index deca97637d..cd29d4482b 100644
--- a/core/modules/comment/tests/modules/comment_test_views/comment_test_views.info.yml
+++ b/core/modules/comment/tests/modules/comment_test_views/comment_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views comment tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:comment
- drupal:views
diff --git a/core/modules/config/config.info.yml b/core/modules/config/config.info.yml
index 88821cea25..44bef6ab09 100644
--- a/core/modules/config/config.info.yml
+++ b/core/modules/config/config.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Allows administrators to manage configuration changes.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: config.sync
diff --git a/core/modules/config/tests/config_clash_test_theme/config_clash_test_theme.info.yml b/core/modules/config/tests/config_clash_test_theme/config_clash_test_theme.info.yml
index 2ff354d6a9..203d4592e3 100644
--- a/core/modules/config/tests/config_clash_test_theme/config_clash_test_theme.info.yml
+++ b/core/modules/config/tests/config_clash_test_theme/config_clash_test_theme.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'Test theme for configuration clash detection'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
regions:
content: Content
left: Left
diff --git a/core/modules/config/tests/config_collection_clash_install_test/config_collection_clash_install_test.info.yml b/core/modules/config/tests/config_collection_clash_install_test/config_collection_clash_install_test.info.yml
index 0b33ad24df..f6410f4c0f 100644
--- a/core/modules/config/tests/config_collection_clash_install_test/config_collection_clash_install_test.info.yml
+++ b/core/modules/config/tests/config_collection_clash_install_test/config_collection_clash_install_test.info.yml
@@ -4,6 +4,6 @@ name: 'Config collection clash test module'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_collection_install_test
diff --git a/core/modules/config/tests/config_collection_install_test/config_collection_install_test.info.yml b/core/modules/config/tests/config_collection_install_test/config_collection_install_test.info.yml
index 95c6799f00..3c45e83a7e 100644
--- a/core/modules/config/tests/config_collection_install_test/config_collection_install_test.info.yml
+++ b/core/modules/config/tests/config_collection_install_test/config_collection_install_test.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration events test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_entity_static_cache_test/config_entity_static_cache_test.info.yml b/core/modules/config/tests/config_entity_static_cache_test/config_entity_static_cache_test.info.yml
index 561d537d04..ae37ff120f 100644
--- a/core/modules/config/tests/config_entity_static_cache_test/config_entity_static_cache_test.info.yml
+++ b/core/modules/config/tests/config_entity_static_cache_test/config_entity_static_cache_test.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration entity static cache test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_events_test/config_events_test.info.yml b/core/modules/config/tests/config_events_test/config_events_test.info.yml
index 95c6799f00..3c45e83a7e 100644
--- a/core/modules/config/tests/config_events_test/config_events_test.info.yml
+++ b/core/modules/config/tests/config_events_test/config_events_test.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration events test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_import_test/config_import_test.info.yml b/core/modules/config/tests/config_import_test/config_import_test.info.yml
index 01d2d1db3f..f24bd82f41 100644
--- a/core/modules/config/tests/config_import_test/config_import_test.info.yml
+++ b/core/modules/config/tests/config_import_test/config_import_test.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration import test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.info.yml b/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.info.yml
index e9b3c72456..efc5ba3c68 100644
--- a/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.info.yml
+++ b/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.info.yml
@@ -2,4 +2,4 @@ name: 'Config install dependency test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_install_double_dependency_test/config_install_double_dependency_test.info.yml b/core/modules/config/tests/config_install_double_dependency_test/config_install_double_dependency_test.info.yml
index 99404cf12b..55a3001d21 100644
--- a/core/modules/config/tests/config_install_double_dependency_test/config_install_double_dependency_test.info.yml
+++ b/core/modules/config/tests/config_install_double_dependency_test/config_install_double_dependency_test.info.yml
@@ -2,4 +2,4 @@ name: 'Config install double dependency test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_install_fail_test/config_install_fail_test.info.yml b/core/modules/config/tests/config_install_fail_test/config_install_fail_test.info.yml
index 00e0453833..778c295533 100644
--- a/core/modules/config/tests/config_install_fail_test/config_install_fail_test.info.yml
+++ b/core/modules/config/tests/config_install_fail_test/config_install_fail_test.info.yml
@@ -2,6 +2,6 @@ name: 'Configuration install fail test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_test
diff --git a/core/modules/config/tests/config_integration_test/config_integration_test.info.yml b/core/modules/config/tests/config_integration_test/config_integration_test.info.yml
index ab2cb60a77..4351d901ee 100644
--- a/core/modules/config/tests/config_integration_test/config_integration_test.info.yml
+++ b/core/modules/config/tests/config_integration_test/config_integration_test.info.yml
@@ -2,6 +2,6 @@ name: 'ConfigTest integration'
type: module
package: 'Testing'
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_test
diff --git a/core/modules/config/tests/config_other_module_config_test/config_other_module_config_test.info.yml b/core/modules/config/tests/config_other_module_config_test/config_other_module_config_test.info.yml
index 0c332c24d0..6876575704 100644
--- a/core/modules/config/tests/config_other_module_config_test/config_other_module_config_test.info.yml
+++ b/core/modules/config/tests/config_other_module_config_test/config_other_module_config_test.info.yml
@@ -2,4 +2,4 @@ name: 'Config other module config'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_override_integration_test/config_override_integration_test.info.yml b/core/modules/config/tests/config_override_integration_test/config_override_integration_test.info.yml
index f59da1e136..f11019c176 100644
--- a/core/modules/config/tests/config_override_integration_test/config_override_integration_test.info.yml
+++ b/core/modules/config/tests/config_override_integration_test/config_override_integration_test.info.yml
@@ -2,7 +2,7 @@ name: 'Configuration override integration test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
diff --git a/core/modules/config/tests/config_override_test/config_override_test.info.yml b/core/modules/config/tests/config_override_test/config_override_test.info.yml
index 5bad4e60ec..c1caf9a9d3 100644
--- a/core/modules/config/tests/config_override_test/config_override_test.info.yml
+++ b/core/modules/config/tests/config_override_test/config_override_test.info.yml
@@ -2,7 +2,7 @@ name: 'Configuration override test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
diff --git a/core/modules/config/tests/config_schema_test/config_schema_test.info.yml b/core/modules/config/tests/config_schema_test/config_schema_test.info.yml
index 9836e8b59b..3944463945 100644
--- a/core/modules/config/tests/config_schema_test/config_schema_test.info.yml
+++ b/core/modules/config/tests/config_schema_test/config_schema_test.info.yml
@@ -2,5 +2,5 @@ name: 'Configuration schema test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/config/tests/config_test/config_test.info.yml b/core/modules/config/tests/config_test/config_test.info.yml
index a4d7b0c48f..6a3763c60f 100644
--- a/core/modules/config/tests/config_test/config_test.info.yml
+++ b/core/modules/config/tests/config_test/config_test.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/config/tests/config_test_id_mismatch/config_test_id_mismatch.info.yml b/core/modules/config/tests/config_test_id_mismatch/config_test_id_mismatch.info.yml
index 7cd2e0926a..4e77f1fab2 100644
--- a/core/modules/config/tests/config_test_id_mismatch/config_test_id_mismatch.info.yml
+++ b/core/modules/config/tests/config_test_id_mismatch/config_test_id_mismatch.info.yml
@@ -2,6 +2,6 @@ name: 'Configuration test ID mismatch'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_test
diff --git a/core/modules/config/tests/config_test_language/config_test_language.info.yml b/core/modules/config/tests/config_test_language/config_test_language.info.yml
index d549e98175..dda9c4f703 100644
--- a/core/modules/config/tests/config_test_language/config_test_language.info.yml
+++ b/core/modules/config/tests/config_test_language/config_test_language.info.yml
@@ -2,6 +2,6 @@ name: 'Configuration test languages'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_test
diff --git a/core/modules/config_environment/config_environment.info.yml b/core/modules/config_environment/config_environment.info.yml
index bf3dee2485..dc5af8138f 100644
--- a/core/modules/config_environment/config_environment.info.yml
+++ b/core/modules/config_environment/config_environment.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Allows administrators to manage configuration environments.'
package: Core (Experimental)
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config
diff --git a/core/modules/config_environment/tests/config_transformer_test/config_transformer_test.info.yml b/core/modules/config_environment/tests/config_transformer_test/config_transformer_test.info.yml
index 3fbdd561a0..4fda3ac0f1 100644
--- a/core/modules/config_environment/tests/config_transformer_test/config_transformer_test.info.yml
+++ b/core/modules/config_environment/tests/config_transformer_test/config_transformer_test.info.yml
@@ -3,7 +3,7 @@ name: 'Configuration Storage Transformer Test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config
# @todo: remove dependency on config_environment in #2991683.
diff --git a/core/modules/config_translation/config_translation.info.yml b/core/modules/config_translation/config_translation.info.yml
index 904f57783e..9c2e7aa2b5 100644
--- a/core/modules/config_translation/config_translation.info.yml
+++ b/core/modules/config_translation/config_translation.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a translation interface for configuration.'
package: Multilingual
version: VERSION
-core: 8.x
+core: ~8
configure: config_translation.mapper_list
dependencies:
- drupal:locale
diff --git a/core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.info.yml b/core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.info.yml
index 9adf9fda2b..1781f5a411 100644
--- a/core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.info.yml
+++ b/core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.info.yml
@@ -3,7 +3,7 @@ description: 'Helpers to test the configuration translation system'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_translation
- drupal:config_test
diff --git a/core/modules/config_translation/tests/themes/config_translation_test_theme/config_translation_test_theme.info.yml b/core/modules/config_translation/tests/themes/config_translation_test_theme/config_translation_test_theme.info.yml
index f46d8a058f..7edf2d3b32 100644
--- a/core/modules/config_translation/tests/themes/config_translation_test_theme/config_translation_test_theme.info.yml
+++ b/core/modules/config_translation/tests/themes/config_translation_test_theme/config_translation_test_theme.info.yml
@@ -2,4 +2,4 @@ name: 'Configuration Translation Test Theme'
type: theme
description: 'Theme for testing the configuration translation mapper system'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/contact/contact.info.yml b/core/modules/contact/contact.info.yml
index 2507fbd167..96ea4f4e12 100644
--- a/core/modules/contact/contact.info.yml
+++ b/core/modules/contact/contact.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Enables the use of both personal and site-wide contact forms.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.contact_form.collection
diff --git a/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.info.yml b/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.info.yml
index aefb2fb2ff..b1f1cc97de 100644
--- a/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.info.yml
+++ b/core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Tests that contact messages can be stored.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:contact
- drupal:user
diff --git a/core/modules/contact/tests/modules/contact_test/contact_test.info.yml b/core/modules/contact/tests/modules/contact_test/contact_test.info.yml
index 20331427c2..48a709ebe0 100644
--- a/core/modules/contact/tests/modules/contact_test/contact_test.info.yml
+++ b/core/modules/contact/tests/modules/contact_test/contact_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Contains test contact form.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:contact
diff --git a/core/modules/contact/tests/modules/contact_test_views/contact_test_views.info.yml b/core/modules/contact/tests/modules/contact_test_views/contact_test_views.info.yml
index 6460477bca..0f034501ac 100644
--- a/core/modules/contact/tests/modules/contact_test_views/contact_test_views.info.yml
+++ b/core/modules/contact/tests/modules/contact_test_views/contact_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views contact tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:contact
- drupal:views
diff --git a/core/modules/content_moderation/content_moderation.info.yml b/core/modules/content_moderation/content_moderation.info.yml
index 2472f470f3..eb4228a79d 100644
--- a/core/modules/content_moderation/content_moderation.info.yml
+++ b/core/modules/content_moderation/content_moderation.info.yml
@@ -2,7 +2,7 @@ name: 'Content Moderation'
type: module
description: 'Provides moderation states for content.'
version: VERSION
-core: 8.x
+core: ~8
package: Core
configure: entity.workflow.collection
dependencies:
diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_local_task/content_moderation_test_local_task.info.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_local_task/content_moderation_test_local_task.info.yml
index bccb61c88f..6034e3e0be 100644
--- a/core/modules/content_moderation/tests/modules/content_moderation_test_local_task/content_moderation_test_local_task.info.yml
+++ b/core/modules/content_moderation/tests/modules/content_moderation_test_local_task/content_moderation_test_local_task.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a local task for testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:content_moderation
- drupal:node
diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_views/content_moderation_test_views.info.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_views/content_moderation_test_views.info.yml
index fcce26c82e..f3647c413d 100644
--- a/core/modules/content_moderation/tests/modules/content_moderation_test_views/content_moderation_test_views.info.yml
+++ b/core/modules/content_moderation/tests/modules/content_moderation_test_views/content_moderation_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views Content moderation tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:content_moderation
- drupal:node
diff --git a/core/modules/content_translation/content_translation.info.yml b/core/modules/content_translation/content_translation.info.yml
index 68d1ec0cb3..cb508d8c3b 100644
--- a/core/modules/content_translation/content_translation.info.yml
+++ b/core/modules/content_translation/content_translation.info.yml
@@ -5,5 +5,5 @@ dependencies:
- drupal:language
package: Multilingual
version: VERSION
-core: 8.x
+core: ~8
configure: language.content_settings_page
diff --git a/core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.info.yml b/core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.info.yml
index d5982ae75c..8e77ada6c2 100644
--- a/core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.info.yml
+++ b/core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides content translation tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:content_translation
- drupal:language
diff --git a/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml b/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml
index 008a1df4a7..3c426cc814 100644
--- a/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml
+++ b/core/modules/content_translation/tests/modules/content_translation_test_views/content_translation_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views content translation tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:content_translation
- drupal:views
diff --git a/core/modules/contextual/contextual.info.yml b/core/modules/contextual/contextual.info.yml
index 4e11bb966b..6bfa5bf8ee 100644
--- a/core/modules/contextual/contextual.info.yml
+++ b/core/modules/contextual/contextual.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides contextual links to perform actions related to elements on a page.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml b/core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml
index 4a519369b0..cced78cede 100644
--- a/core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml
+++ b/core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides test contextual links.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:contextual
diff --git a/core/modules/datetime/datetime.info.yml b/core/modules/datetime/datetime.info.yml
index 884cafcd78..4f3b8042f1 100644
--- a/core/modules/datetime/datetime.info.yml
+++ b/core/modules/datetime/datetime.info.yml
@@ -3,6 +3,6 @@ type: module
description: Defines datetime form elements and a datetime field type.
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
diff --git a/core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml b/core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml
index 665fd028f5..7377287d4c 100644
--- a/core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml
+++ b/core/modules/datetime/tests/modules/datetime_test/datetime_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides default views for tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/datetime_range/datetime_range.info.yml b/core/modules/datetime_range/datetime_range.info.yml
index 69006d8e88..ecdce6fe21 100644
--- a/core/modules/datetime_range/datetime_range.info.yml
+++ b/core/modules/datetime_range/datetime_range.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides the ability to store end dates.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:datetime
diff --git a/core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml b/core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml
index 8e5bddee34..b61bc906a4 100644
--- a/core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml
+++ b/core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides a testing module for datetime_range.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
diff --git a/core/modules/dblog/dblog.info.yml b/core/modules/dblog/dblog.info.yml
index b214fb76c7..0c7060ae55 100644
--- a/core/modules/dblog/dblog.info.yml
+++ b/core/modules/dblog/dblog.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Logs and records system events to the database.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: system.logging_settings
diff --git a/core/modules/dblog/tests/modules/dblog_test_views/dblog_test_views.info.yml b/core/modules/dblog/tests/modules/dblog_test_views/dblog_test_views.info.yml
index 9ac37c1858..0a6fc9b3b5 100644
--- a/core/modules/dblog/tests/modules/dblog_test_views/dblog_test_views.info.yml
+++ b/core/modules/dblog/tests/modules/dblog_test_views/dblog_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views dblog tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:dblog
- drupal:views
diff --git a/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml b/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
index 00db97de2c..4ceda64b77 100644
--- a/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
+++ b/core/modules/dynamic_page_cache/dynamic_page_cache.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Caches pages for any user, handling dynamic content correctly.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/dynamic_page_cache_test.info.yml b/core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/dynamic_page_cache_test.info.yml
index 7a57fd4b87..3840153d1e 100644
--- a/core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/dynamic_page_cache_test.info.yml
+++ b/core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/dynamic_page_cache_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test routes/responses for Dynamic Page Cache.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/editor/editor.info.yml b/core/modules/editor/editor.info.yml
index 745ab2f0a8..cd7de81c8f 100644
--- a/core/modules/editor/editor.info.yml
+++ b/core/modules/editor/editor.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a means to associate text formats with text editor libraries such as WYSIWYGs or toolbars.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:filter
- drupal:file
diff --git a/core/modules/editor/tests/editor_private_test/editor_private_test.info.yml b/core/modules/editor/tests/editor_private_test/editor_private_test.info.yml
index 97a3fe6dff..77ad19cf4f 100644
--- a/core/modules/editor/tests/editor_private_test/editor_private_test.info.yml
+++ b/core/modules/editor/tests/editor_private_test/editor_private_test.info.yml
@@ -1,7 +1,7 @@
name: 'Text Editor Private test'
type: module
description: 'Support module for the Text Editor Private module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/editor/tests/modules/editor_test.info.yml b/core/modules/editor/tests/modules/editor_test.info.yml
index 40b6ff0713..f00f7f977e 100644
--- a/core/modules/editor/tests/modules/editor_test.info.yml
+++ b/core/modules/editor/tests/modules/editor_test.info.yml
@@ -1,6 +1,6 @@
name: 'Text Editor test'
type: module
description: 'Support module for the Text Editor module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/entity_reference/entity_reference.info.yml b/core/modules/entity_reference/entity_reference.info.yml
index 50195b0663..cf24fba902 100644
--- a/core/modules/entity_reference/entity_reference.info.yml
+++ b/core/modules/entity_reference/entity_reference.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Deprecated. All the functionality has been moved to Core.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/field/field.info.yml b/core/modules/field/field.info.yml
index 13b5da0054..805f6d4301 100644
--- a/core/modules/field/field.info.yml
+++ b/core/modules/field/field.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Field API to add fields to entities like nodes and users.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/field/tests/modules/field_plugins_test/field_plugins_test.info.yml b/core/modules/field/tests/modules/field_plugins_test/field_plugins_test.info.yml
index 156a3af600..21f7261128 100644
--- a/core/modules/field/tests/modules/field_plugins_test/field_plugins_test.info.yml
+++ b/core/modules/field/tests/modules/field_plugins_test/field_plugins_test.info.yml
@@ -1,7 +1,7 @@
name: 'Field Plugins Test'
type: module
description: 'Support module for the field and entity display tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field/tests/modules/field_test/field_test.info.yml b/core/modules/field/tests/modules/field_test/field_test.info.yml
index d974cce969..531881e942 100644
--- a/core/modules/field/tests/modules/field_test/field_test.info.yml
+++ b/core/modules/field/tests/modules/field_test/field_test.info.yml
@@ -1,7 +1,7 @@
name: 'Field API Test'
type: module
description: 'Support module for the Field API tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.info.yml b/core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.info.yml
index 06b9a42163..54549d67b6 100644
--- a/core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.info.yml
+++ b/core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.info.yml
@@ -1,7 +1,7 @@
name: 'Boolean field Test'
type: module
description: 'Support module for the field and entity display tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field/tests/modules/field_test_config/field_test_config.info.yml b/core/modules/field/tests/modules/field_test_config/field_test_config.info.yml
index e3cb0e892a..ec3bf88f88 100644
--- a/core/modules/field/tests/modules/field_test_config/field_test_config.info.yml
+++ b/core/modules/field/tests/modules/field_test_config/field_test_config.info.yml
@@ -1,6 +1,6 @@
name: 'Field API configuration tests'
type: module
description: 'Support module for the Field API configuration tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/field/tests/modules/field_test_views/field_test_views.info.yml b/core/modules/field/tests/modules/field_test_views/field_test_views.info.yml
index ca2f023515..ddbfe58d50 100644
--- a/core/modules/field/tests/modules/field_test_views/field_test_views.info.yml
+++ b/core/modules/field/tests/modules/field_test_views/field_test_views.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides default views for views field tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/field/tests/modules/field_third_party_test/field_third_party_test.info.yml b/core/modules/field/tests/modules/field_third_party_test/field_third_party_test.info.yml
index 47be1bffe8..bfebfe4967 100644
--- a/core/modules/field/tests/modules/field_third_party_test/field_third_party_test.info.yml
+++ b/core/modules/field/tests/modules/field_third_party_test/field_third_party_test.info.yml
@@ -1,7 +1,7 @@
name: 'Field Third Party Settings Test'
type: module
description: 'Support module for the Field API tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml b/core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml
index 991068e4cf..7c6fc9c001 100644
--- a/core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml
+++ b/core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml
@@ -1,7 +1,7 @@
name: 'Field Timestamp Test'
type: module
description: 'Support module for the Timestamp field item test.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field_layout/field_layout.info.yml b/core/modules/field_layout/field_layout.info.yml
index d5d704c7f3..853451a5b8 100644
--- a/core/modules/field_layout/field_layout.info.yml
+++ b/core/modules/field_layout/field_layout.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Allows users to configure the display and form display by arranging fields in several columns.'
package: Core (Experimental)
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:layout_discovery
diff --git a/core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.info.yml b/core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.info.yml
index 4f63309b5e..1691b3b46b 100644
--- a/core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.info.yml
+++ b/core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.info.yml
@@ -1,7 +1,7 @@
name: 'Field Layout test'
type: module
description: 'Support module for Field Layout tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/field_ui/field_ui.info.yml b/core/modules/field_ui/field_ui.info.yml
index 3d8126b4e4..6f178f2cd4 100644
--- a/core/modules/field_ui/field_ui.info.yml
+++ b/core/modules/field_ui/field_ui.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'User interface for the Field API.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
diff --git a/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.info.yml b/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.info.yml
index aa8a97a438..680fb96c96 100644
--- a/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.info.yml
+++ b/core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.info.yml
@@ -1,6 +1,6 @@
name: 'Field UI test'
type: module
description: 'Support module for Field UI tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/file/file.info.yml b/core/modules/file/file.info.yml
index f9f78a703d..7ff536118c 100644
--- a/core/modules/file/file.info.yml
+++ b/core/modules/file/file.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Defines a file field type.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
diff --git a/core/modules/file/tests/file_module_test/file_module_test.info.yml b/core/modules/file/tests/file_module_test/file_module_test.info.yml
index 097b0a5c42..e4a60963e6 100644
--- a/core/modules/file/tests/file_module_test/file_module_test.info.yml
+++ b/core/modules/file/tests/file_module_test/file_module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides hooks for testing File module functionality.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/file/tests/file_test/file_test.info.yml b/core/modules/file/tests/file_test/file_test.info.yml
index d5ebfdfd35..7f7d2704dd 100644
--- a/core/modules/file/tests/file_test/file_test.info.yml
+++ b/core/modules/file/tests/file_test/file_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for file handling tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/file/tests/modules/file_test_views/file_test_views.info.yml b/core/modules/file/tests/modules/file_test_views/file_test_views.info.yml
index cc2d93d1ce..f98209d0e6 100644
--- a/core/modules/file/tests/modules/file_test_views/file_test_views.info.yml
+++ b/core/modules/file/tests/modules/file_test_views/file_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views file tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:file
- drupal:views
diff --git a/core/modules/filter/filter.info.yml b/core/modules/filter/filter.info.yml
index 0f3c94ce66..64f3b7aceb 100644
--- a/core/modules/filter/filter.info.yml
+++ b/core/modules/filter/filter.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Filters content in preparation for display.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: filter.admin_overview
dependencies:
- drupal:user
diff --git a/core/modules/filter/tests/filter_test/filter_test.info.yml b/core/modules/filter/tests/filter_test/filter_test.info.yml
index 433adb659f..aff72a1a69 100644
--- a/core/modules/filter/tests/filter_test/filter_test.info.yml
+++ b/core/modules/filter/tests/filter_test/filter_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Tests filter hooks and functions.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:filter
diff --git a/core/modules/filter/tests/filter_test_plugin/filter_test_plugin.info.yml b/core/modules/filter/tests/filter_test_plugin/filter_test_plugin.info.yml
index 010c8f829f..a9ab2a6624 100644
--- a/core/modules/filter/tests/filter_test_plugin/filter_test_plugin.info.yml
+++ b/core/modules/filter/tests/filter_test_plugin/filter_test_plugin.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Tests enabling of modules which provide filter plugins.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/forum/forum.info.yml b/core/modules/forum/forum.info.yml
index d275dfccb1..0e87ebc12d 100644
--- a/core/modules/forum/forum.info.yml
+++ b/core/modules/forum/forum.info.yml
@@ -9,5 +9,5 @@ dependencies:
- drupal:options
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: forum.overview
diff --git a/core/modules/forum/tests/modules/forum_test_views/forum_test_views.info.yml b/core/modules/forum/tests/modules/forum_test_views/forum_test_views.info.yml
index 6debc15a7a..9de16b98b1 100644
--- a/core/modules/forum/tests/modules/forum_test_views/forum_test_views.info.yml
+++ b/core/modules/forum/tests/modules/forum_test_views/forum_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views forum tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:forum
- drupal:views
diff --git a/core/modules/hal/hal.info.yml b/core/modules/hal/hal.info.yml
index 2839943250..0c480a3b64 100644
--- a/core/modules/hal/hal.info.yml
+++ b/core/modules/hal/hal.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Serializes entities using Hypertext Application Language.'
package: Web services
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:serialization
diff --git a/core/modules/hal/tests/modules/hal_test/hal_test.info.yml b/core/modules/hal/tests/modules/hal_test/hal_test.info.yml
index 8f7d7ad0bf..d9710d5f53 100644
--- a/core/modules/hal/tests/modules/hal_test/hal_test.info.yml
+++ b/core/modules/hal/tests/modules/hal_test/hal_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: "Support module for HAL tests."
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/help/help.info.yml b/core/modules/help/help.info.yml
index ee4c6433e9..137b168b8d 100644
--- a/core/modules/help/help.info.yml
+++ b/core/modules/help/help.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Manages the display of online help.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/help/tests/modules/help_page_test/help_page_test.info.yml b/core/modules/help/tests/modules/help_page_test/help_page_test.info.yml
index 7de2a0d06d..24cf14211f 100644
--- a/core/modules/help/tests/modules/help_page_test/help_page_test.info.yml
+++ b/core/modules/help/tests/modules/help_page_test/help_page_test.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Module to test the help page.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/help/tests/modules/help_test/help_test.info.yml b/core/modules/help/tests/modules/help_test/help_test.info.yml
index 668ae38bae..04e6df54f7 100644
--- a/core/modules/help/tests/modules/help_test/help_test.info.yml
+++ b/core/modules/help/tests/modules/help_test/help_test.info.yml
@@ -1,6 +1,6 @@
name: help_test
type: module
-core: 8.x
+core: ~8
package: Testing
dependencies:
- drupal:help
diff --git a/core/modules/help/tests/modules/more_help_page_test/more_help_page_test.info.yml b/core/modules/help/tests/modules/more_help_page_test/more_help_page_test.info.yml
index cc15ce4b32..92c1e42101 100644
--- a/core/modules/help/tests/modules/more_help_page_test/more_help_page_test.info.yml
+++ b/core/modules/help/tests/modules/more_help_page_test/more_help_page_test.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Module to test the help page.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/help_topics/help_topics.info.yml b/core/modules/help_topics/help_topics.info.yml
index 3afdacc432..ebf0e71b57 100644
--- a/core/modules/help_topics/help_topics.info.yml
+++ b/core/modules/help_topics/help_topics.info.yml
@@ -1,7 +1,7 @@
name: Help Topics
type: module
description: 'Displays help topics provided by themes and modules.'
-core: 8.x
+core: ~8
package: Core (Experimental)
version: VERSION
dependencies:
diff --git a/core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml b/core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml
index 155c43d565..32237bdd30 100644
--- a/core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml
+++ b/core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.info.yml
@@ -4,4 +4,4 @@ name: 'ABC Help Test'
type: module
description: 'Support module for help testing.'
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml b/core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
index 70c6951772..83a5a07382 100644
--- a/core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
+++ b/core/modules/help_topics/tests/themes/help_topics_test_theme/help_topics_test_theme.info.yml
@@ -2,4 +2,4 @@ name: Test Help Topics
type: theme
description: A theme to test help topics.
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/history/history.info.yml b/core/modules/history/history.info.yml
index 006da6297d..12fc819dae 100644
--- a/core/modules/history/history.info.yml
+++ b/core/modules/history/history.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Records which user has read which content.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
diff --git a/core/modules/image/image.info.yml b/core/modules/image/image.info.yml
index c17c7e09a1..a97624f4d9 100644
--- a/core/modules/image/image.info.yml
+++ b/core/modules/image/image.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Defines an image field type and provides image manipulation tools.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:file
configure: entity.image_style.collection
diff --git a/core/modules/image/tests/modules/image_access_test_hidden/image_access_test_hidden.info.yml b/core/modules/image/tests/modules/image_access_test_hidden/image_access_test_hidden.info.yml
index 293265b09b..b923a782af 100644
--- a/core/modules/image/tests/modules/image_access_test_hidden/image_access_test_hidden.info.yml
+++ b/core/modules/image/tests/modules/image_access_test_hidden/image_access_test_hidden.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides an entity field access hook implementation to set an image field as hidden.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/image/tests/modules/image_module_test/image_module_test.info.yml b/core/modules/image/tests/modules/image_module_test/image_module_test.info.yml
index 7c4d3ace4e..f193691c92 100644
--- a/core/modules/image/tests/modules/image_module_test/image_module_test.info.yml
+++ b/core/modules/image/tests/modules/image_module_test/image_module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides hook implementations for testing Image module functionality.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/image/tests/modules/image_test_views/image_test_views.info.yml b/core/modules/image/tests/modules/image_test_views/image_test_views.info.yml
index eb9cc3a260..ef29867f05 100644
--- a/core/modules/image/tests/modules/image_test_views/image_test_views.info.yml
+++ b/core/modules/image/tests/modules/image_test_views/image_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views image tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:image
- drupal:views
diff --git a/core/modules/inline_form_errors/inline_form_errors.info.yml b/core/modules/inline_form_errors/inline_form_errors.info.yml
index 6465e19e8f..022ef1cabc 100644
--- a/core/modules/inline_form_errors/inline_form_errors.info.yml
+++ b/core/modules/inline_form_errors/inline_form_errors.info.yml
@@ -2,5 +2,5 @@ type: module
name: Inline Form Errors
description: 'Places error messages adjacent to form inputs, for improved usability and accessibility.'
version: VERSION
-core: 8.x
+core: ~8
package: Core
diff --git a/core/modules/jsonapi/jsonapi.info.yml b/core/modules/jsonapi/jsonapi.info.yml
index b99b55f10d..ce2bcc8856 100644
--- a/core/modules/jsonapi/jsonapi.info.yml
+++ b/core/modules/jsonapi/jsonapi.info.yml
@@ -1,7 +1,7 @@
name: JSON:API
type: module
description: Exposes entities as a JSON:API-specification-compliant web API.
-core: 8.x
+core: ~8
package: Web services
configure: jsonapi.settings
dependencies:
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml
index a5664b7197..24554f3138 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml
@@ -1,4 +1,4 @@
name: 'JSON API test collection counts'
type: module
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.info.yml
index a72ccb10ac..1cd97645cc 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.info.yml
@@ -1,4 +1,4 @@
name: 'JSON API test format-agnostic @DataType normalizers'
type: module
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_field_access/jsonapi_test_field_access.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_field_access/jsonapi_test_field_access.info.yml
index 4cfaf77cfe..fada3d93bb 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_field_access/jsonapi_test_field_access.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_field_access/jsonapi_test_field_access.info.yml
@@ -2,4 +2,4 @@ name: 'JSON API field access'
type: module
description: 'Provides a custom field access hook to test JSON API field access security.'
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/jsonapi_test_field_aliasing.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/jsonapi_test_field_aliasing.info.yml
index 14a5c32b6c..6688946473 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/jsonapi_test_field_aliasing.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/jsonapi_test_field_aliasing.info.yml
@@ -1,4 +1,4 @@
name: 'JSON:API test field aliasing'
type: module
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/jsonapi_test_field_filter_access.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/jsonapi_test_field_filter_access.info.yml
index 0ffa03d4ac..8072889b8f 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/jsonapi_test_field_filter_access.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/jsonapi_test_field_filter_access.info.yml
@@ -2,4 +2,4 @@ name: 'JSON:API filter access'
type: module
description: 'Provides custom access related code to test JSON:API filter security.'
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.info.yml
index 30944dbb75..97f4e600b2 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.info.yml
@@ -1,4 +1,4 @@
name: 'JSON API test format-agnostic @FieldType normalizers'
type: module
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml b/core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml
index b8ab6476e1..0101dafca9 100644
--- a/core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml
+++ b/core/modules/jsonapi/tests/modules/jsonapi_test_normalizers_kernel/jsonapi_test_normalizers_kernel.info.yml
@@ -1,4 +1,4 @@
name: 'JSON API test: normalizers kernel tests, public aliases for select JSON API normalizers'
type: module
package: Testing
-core: 8.x
+core: ~8
diff --git a/core/modules/language/language.info.yml b/core/modules/language/language.info.yml
index 30770401ad..ff637a1381 100644
--- a/core/modules/language/language.info.yml
+++ b/core/modules/language/language.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Allows users to configure languages and apply them to content.'
package: Multilingual
version: VERSION
-core: 8.x
+core: ~8
configure: entity.configurable_language.collection
diff --git a/core/modules/language/tests/language_config_override_test/language_config_override_test.info.yml b/core/modules/language/tests/language_config_override_test/language_config_override_test.info.yml
index 4345db5a40..cd4dc4a7c1 100644
--- a/core/modules/language/tests/language_config_override_test/language_config_override_test.info.yml
+++ b/core/modules/language/tests/language_config_override_test/language_config_override_test.info.yml
@@ -1,6 +1,6 @@
name: 'Language config overridetest'
type: module
description: 'Support module for the language config override test.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/language/tests/language_elements_test/language_elements_test.info.yml b/core/modules/language/tests/language_elements_test/language_elements_test.info.yml
index 35ed3e03c2..3cc225d1e0 100644
--- a/core/modules/language/tests/language_elements_test/language_elements_test.info.yml
+++ b/core/modules/language/tests/language_elements_test/language_elements_test.info.yml
@@ -1,7 +1,7 @@
name: 'Language form elements test'
type: module
description: 'Support module for the language form elements tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.info.yml b/core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.info.yml
index 295a65b4fb..5c7e38db19 100644
--- a/core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.info.yml
+++ b/core/modules/language/tests/language_entity_field_access_test/language_entity_field_access_test.info.yml
@@ -1,7 +1,7 @@
name: 'Language entity field access test'
type: module
description: 'Support module for verifying entity field access and the language selector.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/language/tests/language_test/language_test.info.yml b/core/modules/language/tests/language_test/language_test.info.yml
index 03051cd8c1..72185577b5 100644
--- a/core/modules/language/tests/language_test/language_test.info.yml
+++ b/core/modules/language/tests/language_test/language_test.info.yml
@@ -1,6 +1,6 @@
name: 'Language test'
type: module
description: 'Support module for the language layer tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/language/tests/test_module/test_module.info.yml b/core/modules/language/tests/test_module/test_module.info.yml
index f68226f86b..154cf27b68 100644
--- a/core/modules/language/tests/test_module/test_module.info.yml
+++ b/core/modules/language/tests/test_module/test_module.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/layout_builder.info.yml b/core/modules/layout_builder/layout_builder.info.yml
index 6e700e1b09..d40bb017f1 100644
--- a/core/modules/layout_builder/layout_builder.info.yml
+++ b/core/modules/layout_builder/layout_builder.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows users to add and arrange blocks and content fields directly on the content.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:layout_discovery
- drupal:contextual
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_defaults_test/layout_builder_defaults_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_defaults_test/layout_builder_defaults_test.info.yml
index ab53235858..53a9dcdf19 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_defaults_test/layout_builder_defaults_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_defaults_test/layout_builder_defaults_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing layout building defaults.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_field_block_theme_suggestions_test/layout_builder_field_block_theme_suggestions_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_field_block_theme_suggestions_test/layout_builder_field_block_theme_suggestions_test.info.yml
index 589c256103..ab4fbc9ba1 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_field_block_theme_suggestions_test/layout_builder_field_block_theme_suggestions_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_field_block_theme_suggestions_test/layout_builder_field_block_theme_suggestions_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml
index 607877e780..fa28810b9a 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing layout building.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_overrides_test/layout_builder_overrides_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_overrides_test/layout_builder_overrides_test.info.yml
index f9ed711707..f3c23156d4 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_overrides_test/layout_builder_overrides_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_overrides_test/layout_builder_overrides_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing overriding layout building.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.info.yml
index 607877e780..fa28810b9a 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing layout building.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_builder/tests/modules/layout_builder_views_test/layout_builder_views_test.info.yml b/core/modules/layout_builder/tests/modules/layout_builder_views_test/layout_builder_views_test.info.yml
index b471a0a636..226c31d3a7 100644
--- a/core/modules/layout_builder/tests/modules/layout_builder_views_test/layout_builder_views_test.info.yml
+++ b/core/modules/layout_builder/tests/modules/layout_builder_views_test/layout_builder_views_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- views
diff --git a/core/modules/layout_discovery/layout_discovery.info.yml b/core/modules/layout_discovery/layout_discovery.info.yml
index d0c8d3aff6..9340d8a543 100644
--- a/core/modules/layout_discovery/layout_discovery.info.yml
+++ b/core/modules/layout_discovery/layout_discovery.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides a way for modules or themes to register layouts.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/layout_discovery/tests/themes/test_layout_theme/test_layout_theme.info.yml b/core/modules/layout_discovery/tests/themes/test_layout_theme/test_layout_theme.info.yml
index 021d43fd27..f2af936fac 100644
--- a/core/modules/layout_discovery/tests/themes/test_layout_theme/test_layout_theme.info.yml
+++ b/core/modules/layout_discovery/tests/themes/test_layout_theme/test_layout_theme.info.yml
@@ -3,4 +3,4 @@ type: theme
description: 'Theme for testing a theme-provided layout'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
diff --git a/core/modules/link/link.info.yml b/core/modules/link/link.info.yml
index c3f8f9c94a..ca8aa0edab 100644
--- a/core/modules/link/link.info.yml
+++ b/core/modules/link/link.info.yml
@@ -1,7 +1,7 @@
name: Link
type: module
description: 'Provides a simple link field type.'
-core: 8.x
+core: ~8
package: Field types
version: VERSION
dependencies:
diff --git a/core/modules/link/tests/modules/link_test_base_field/link_test_base_field.info.yml b/core/modules/link/tests/modules/link_test_base_field/link_test_base_field.info.yml
index ce07b8f95f..ddf8d980ec 100644
--- a/core/modules/link/tests/modules/link_test_base_field/link_test_base_field.info.yml
+++ b/core/modules/link/tests/modules/link_test_base_field/link_test_base_field.info.yml
@@ -1,7 +1,7 @@
name: Link test base field
description: Tests link field as an optional base field
type: module
-core: 8.x
+core: ~8
hidden: true
dependencies:
- drupal:link
diff --git a/core/modules/link/tests/modules/link_test_views/link_test_views.info.yml b/core/modules/link/tests/modules/link_test_views/link_test_views.info.yml
index e40719e06a..74598f95c3 100644
--- a/core/modules/link/tests/modules/link_test_views/link_test_views.info.yml
+++ b/core/modules/link/tests/modules/link_test_views/link_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views link tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
- drupal:views
diff --git a/core/modules/locale/locale.info.yml b/core/modules/locale/locale.info.yml
index 1db8704e71..883e658ed8 100644
--- a/core/modules/locale/locale.info.yml
+++ b/core/modules/locale/locale.info.yml
@@ -4,7 +4,7 @@ description: 'Translates the built-in user interface.'
configure: locale.translate_page
package: Multilingual
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:language
- drupal:file
diff --git a/core/modules/locale/tests/modules/early_translation_test/early_translation_test.info.yml b/core/modules/locale/tests/modules/early_translation_test/early_translation_test.info.yml
index 8487085579..25b7831f90 100644
--- a/core/modules/locale/tests/modules/early_translation_test/early_translation_test.info.yml
+++ b/core/modules/locale/tests/modules/early_translation_test/early_translation_test.info.yml
@@ -1,6 +1,6 @@
name: 'Early translation test'
type: module
description: 'Support module for testing early bootstrap getting of annotations with translations.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/locale/tests/modules/locale_test/locale_test.info.yml b/core/modules/locale/tests/modules/locale_test/locale_test.info.yml
index ca4211d41d..f24f6df1ab 100644
--- a/core/modules/locale/tests/modules/locale_test/locale_test.info.yml
+++ b/core/modules/locale/tests/modules/locale_test/locale_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for locale module testing.'
package: Testing
version: '1.2'
-core: 8.x
+core: ~8
hidden: true
'interface translation project': locale_test
'interface translation server pattern': core/modules/locale/test/test.%language.po
diff --git a/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.info.yml b/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.info.yml
index fd1481ca16..21c63f193b 100644
--- a/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.info.yml
+++ b/core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Helper module to test the behaviour when the core verison is a development release.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml b/core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml
index d703b0d258..33d7967602 100644
--- a/core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml
+++ b/core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Translation test module for locale module testing.'
package: Testing
version: '1.3'
-core: 8.x
+core: ~8
hidden: true
'interface translation project': locale_test_translate
'interface translation server pattern': core/modules/locale/tests/test.%language.po
diff --git a/core/modules/media/media.info.yml b/core/modules/media/media.info.yml
index 4766c0e524..1e8a4643b9 100644
--- a/core/modules/media/media.info.yml
+++ b/core/modules/media/media.info.yml
@@ -3,7 +3,7 @@ description: 'Manages the creation, configuration, and display of media items.'
type: module
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:file
- drupal:image
diff --git a/core/modules/media/tests/modules/media_test_filter/media_test_filter.info.yml b/core/modules/media/tests/modules/media_test_filter/media_test_filter.info.yml
index 5c4c7838d6..eece2fead4 100644
--- a/core/modules/media/tests/modules/media_test_filter/media_test_filter.info.yml
+++ b/core/modules/media/tests/modules/media_test_filter/media_test_filter.info.yml
@@ -3,6 +3,6 @@ description: 'Provides functionality to test the Media Embed filter.'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:media
diff --git a/core/modules/media/tests/modules/media_test_oembed/media_test_oembed.info.yml b/core/modules/media/tests/modules/media_test_oembed/media_test_oembed.info.yml
index 2ad5d2fad3..929d29a4a6 100644
--- a/core/modules/media/tests/modules/media_test_oembed/media_test_oembed.info.yml
+++ b/core/modules/media/tests/modules/media_test_oembed/media_test_oembed.info.yml
@@ -3,6 +3,6 @@ description: 'Provides functionality to mimic an oEmbed provider.'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:media
diff --git a/core/modules/media/tests/modules/media_test_source/media_test_source.info.yml b/core/modules/media/tests/modules/media_test_source/media_test_source.info.yml
index c0a8736194..0dbf334018 100644
--- a/core/modules/media/tests/modules/media_test_source/media_test_source.info.yml
+++ b/core/modules/media/tests/modules/media_test_source/media_test_source.info.yml
@@ -1,6 +1,6 @@
name: 'Test media source'
type: module
description: 'Provides test media source to test configuration forms.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/media/tests/modules/media_test_type/media_test_type.info.yml b/core/modules/media/tests/modules/media_test_type/media_test_type.info.yml
index 5e81ed0acc..31524e2871 100644
--- a/core/modules/media/tests/modules/media_test_type/media_test_type.info.yml
+++ b/core/modules/media/tests/modules/media_test_type/media_test_type.info.yml
@@ -1,7 +1,7 @@
name: 'Media test type'
type: module
description: 'Provides test type for a media item.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/media/tests/modules/media_test_views/media_test_views.info.yml b/core/modules/media/tests/modules/media_test_views/media_test_views.info.yml
index ee833fc399..4355a1fcbf 100644
--- a/core/modules/media/tests/modules/media_test_views/media_test_views.info.yml
+++ b/core/modules/media/tests/modules/media_test_views/media_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views media tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:media
- drupal:views
diff --git a/core/modules/media_library/media_library.info.yml b/core/modules/media_library/media_library.info.yml
index 41b1e1eb30..4f150bdde7 100644
--- a/core/modules/media_library/media_library.info.yml
+++ b/core/modules/media_library/media_library.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Enhances the media list with additional features to more easily find and use existing media items.'
package: Core (Experimental)
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:media
- drupal:views
diff --git a/core/modules/media_library/tests/modules/media_library_test/media_library_test.info.yml b/core/modules/media_library/tests/modules/media_library_test/media_library_test.info.yml
index 32b9d973b9..e084ff25ff 100644
--- a/core/modules/media_library/tests/modules/media_library_test/media_library_test.info.yml
+++ b/core/modules/media_library/tests/modules/media_library_test/media_library_test.info.yml
@@ -2,7 +2,7 @@ name: 'Media Library test'
type: module
description: 'Test module for Media Library.'
package: Testing
-core: 8.x
+core: ~8
dependencies:
- drupal:image
- drupal:media_library
diff --git a/core/modules/menu_link_content/menu_link_content.info.yml b/core/modules/menu_link_content/menu_link_content.info.yml
index c001f5eb53..e437a657be 100644
--- a/core/modules/menu_link_content/menu_link_content.info.yml
+++ b/core/modules/menu_link_content/menu_link_content.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Allows administrators to create custom menu links.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:link
diff --git a/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/menu_link_content_dynamic_route.info.yml b/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/menu_link_content_dynamic_route.info.yml
index 8de1db409a..1f929cb252 100644
--- a/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/menu_link_content_dynamic_route.info.yml
+++ b/core/modules/menu_link_content/tests/menu_link_content_dynamic_route/menu_link_content_dynamic_route.info.yml
@@ -1,6 +1,6 @@
name: 'Menu link content dynamic route'
type: module
-core: 8.x
+core: ~8
hidden: true
dependencies:
- drupal:menu_link_content
diff --git a/core/modules/menu_link_content/tests/outbound_processing_test/outbound_processing_test.info.yml b/core/modules/menu_link_content/tests/outbound_processing_test/outbound_processing_test.info.yml
index 6f4e4a9b39..dd993d303f 100644
--- a/core/modules/menu_link_content/tests/outbound_processing_test/outbound_processing_test.info.yml
+++ b/core/modules/menu_link_content/tests/outbound_processing_test/outbound_processing_test.info.yml
@@ -1,4 +1,4 @@
name: 'Outbound route/path processing'
type: module
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/menu_ui/menu_ui.info.yml b/core/modules/menu_ui/menu_ui.info.yml
index 0623320585..139f46ceae 100644
--- a/core/modules/menu_ui/menu_ui.info.yml
+++ b/core/modules/menu_ui/menu_ui.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows administrators to customize the site navigation menu.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.menu.collection
dependencies:
- drupal:menu_link_content
diff --git a/core/modules/migrate/migrate.info.yml b/core/modules/migrate/migrate.info.yml
index 3d2f408052..df2dec90cb 100644
--- a/core/modules/migrate/migrate.info.yml
+++ b/core/modules/migrate/migrate.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Handles migrations'
package: Migration
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate/tests/modules/migrate_entity_test/migrate_entity_test.info.yml b/core/modules/migrate/tests/modules/migrate_entity_test/migrate_entity_test.info.yml
index 8f2da388cf..89626d35f8 100644
--- a/core/modules/migrate/tests/modules/migrate_entity_test/migrate_entity_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_entity_test/migrate_entity_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for entity destination test.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate/tests/modules/migrate_events_test/migrate_events_test.info.yml b/core/modules/migrate/tests/modules/migrate_events_test/migrate_events_test.info.yml
index 6ef8e1ffa2..41003d4589 100644
--- a/core/modules/migrate/tests/modules/migrate_events_test/migrate_events_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_events_test/migrate_events_test.info.yml
@@ -2,4 +2,4 @@ name: 'Migrate events test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate/tests/modules/migrate_external_translated_test/migrate_external_translated_test.info.yml b/core/modules/migrate/tests/modules/migrate_external_translated_test/migrate_external_translated_test.info.yml
index 8573407fa3..55c44b418b 100644
--- a/core/modules/migrate/tests/modules/migrate_external_translated_test/migrate_external_translated_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_external_translated_test/migrate_external_translated_test.info.yml
@@ -2,7 +2,7 @@ name: 'Migration external translated test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
- drupal:migrate
diff --git a/core/modules/migrate/tests/modules/migrate_high_water_test/migrate_high_water_test.info.yml b/core/modules/migrate/tests/modules/migrate_high_water_test/migrate_high_water_test.info.yml
index 98340a97ee..d2c21d41db 100644
--- a/core/modules/migrate/tests/modules/migrate_high_water_test/migrate_high_water_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_high_water_test/migrate_high_water_test.info.yml
@@ -2,6 +2,6 @@ type: module
name: Migration High Water Test
description: 'Provides test fixtures for testing high water marks.'
package: Testing
-core: 8.x
+core: ~8
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.info.yml b/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.info.yml
index f9ec92f78b..ada065746d 100644
--- a/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for source plugin prepareRow testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml b/core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml
index acaeec4d5b..38b0d67d44 100644
--- a/core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_query_batch_test/migrate_query_batch_test.info.yml
@@ -2,6 +2,6 @@ type: module
name: Migrate query batch Source test
description: 'Provides a database table and records for SQL import with batch testing.'
package: Testing
-core: 8.x
+core: ~8
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate/tests/modules/migrate_track_changes_test/migrate_track_changes_test.info.yml b/core/modules/migrate/tests/modules/migrate_track_changes_test/migrate_track_changes_test.info.yml
index 6f41410692..6cbae8deff 100644
--- a/core/modules/migrate/tests/modules/migrate_track_changes_test/migrate_track_changes_test.info.yml
+++ b/core/modules/migrate/tests/modules/migrate_track_changes_test/migrate_track_changes_test.info.yml
@@ -2,6 +2,6 @@ type: module
name: Migration Track Changes Test
description: 'Provides test fixtures for testing track changes marks.'
package: Testing
-core: 8.x
+core: ~8
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate/tests/modules/migration_directory_test/migration_directory_test.info.yml b/core/modules/migrate/tests/modules/migration_directory_test/migration_directory_test.info.yml
index c9bce4b820..91220c8661 100644
--- a/core/modules/migrate/tests/modules/migration_directory_test/migration_directory_test.info.yml
+++ b/core/modules/migrate/tests/modules/migration_directory_test/migration_directory_test.info.yml
@@ -2,6 +2,6 @@ name: 'Migration directory test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate_drupal/migrate_drupal.info.yml b/core/modules/migrate_drupal/migrate_drupal.info.yml
index 638bc382fd..906cea79b1 100644
--- a/core/modules/migrate_drupal/migrate_drupal.info.yml
+++ b/core/modules/migrate_drupal/migrate_drupal.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Contains migrations from older Drupal versions.'
package: Migration
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate_drupal/tests/modules/field_discovery_test/field_discovery_test.info.yml b/core/modules/migrate_drupal/tests/modules/field_discovery_test/field_discovery_test.info.yml
index effa82da77..2a3ad429db 100644
--- a/core/modules/migrate_drupal/tests/modules/field_discovery_test/field_discovery_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/field_discovery_test/field_discovery_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Module containing a test class exposing protected field discovery methods'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_cckfield_plugin_manager_test/migrate_cckfield_plugin_manager_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_cckfield_plugin_manager_test/migrate_cckfield_plugin_manager_test.info.yml
index 8449e1ade0..f0f9210900 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_cckfield_plugin_manager_test/migrate_cckfield_plugin_manager_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_cckfield_plugin_manager_test/migrate_cckfield_plugin_manager_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Example module demonstrating the cck field plugin manager in the Migrate API.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/migrate_field_plugin_manager_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/migrate_field_plugin_manager_test.info.yml
index db67a4f023..387f6c9853 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/migrate_field_plugin_manager_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_field_plugin_manager_test/migrate_field_plugin_manager_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Example module demonstrating the field plugin manager in the Migrate API.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrate_overwrite_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrate_overwrite_test.info.yml
index 503c6cec71..783d266119 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrate_overwrite_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrate_overwrite_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Example module demonstrating property overwrite support in the Migrate API.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml
index a040bc537e..94a208017f 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: Tests the 'active' migrate state
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_state_no_file_test/migrate_state_no_file_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_state_no_file_test/migrate_state_no_file_test.info.yml
index db3d9c0776..7fa2970d34 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_state_no_file_test/migrate_state_no_file_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_state_no_file_test/migrate_state_no_file_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: Has a migration but Does not have a migrate_drupal.yml file.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml
index 217d4981d9..8109ebfca3 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml
@@ -3,4 +3,4 @@ type: module
description: Does not have a migration or migrate_drupal.yml file.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml b/core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml
index 4754c3f1b4..2269ad495c 100644
--- a/core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml
+++ b/core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: Tests the 'incomplete' migrate state
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.info.yml b/core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.info.yml
index 75a79dc285..f8ef2f2ccc 100644
--- a/core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.info.yml
+++ b/core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.info.yml
@@ -2,6 +2,6 @@ name: 'Migrate Drupal Multilingual'
type: module
description: 'Provides a requirement for multilingual migrations.'
package: 'Core (Experimental)'
-core: 8.x
+core: ~8
dependencies:
- migrate_drupal
diff --git a/core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml b/core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml
index 8d39c65e3e..b811e7589c 100644
--- a/core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml
+++ b/core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a user interface for migrating from older Drupal versions.'
package: Migration
version: VERSION
-core: 8.x
+core: ~8
configure: migrate_drupal_ui.upgrade
dependencies:
- drupal:migrate
diff --git a/core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/migration_provider_test.info.yml b/core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/migration_provider_test.info.yml
index 49b7dce9b5..e910f699b8 100644
--- a/core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/migration_provider_test.info.yml
+++ b/core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/migration_provider_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Add a migration missing a source and destination migration provider and a source plugin missing a migration provider.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/node.info.yml b/core/modules/node/node.info.yml
index 88cba8572b..cfbc7431a2 100644
--- a/core/modules/node/node.info.yml
+++ b/core/modules/node/node.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows content to be submitted to the site and displayed on pages.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.node_type.collection
dependencies:
- drupal:text
diff --git a/core/modules/node/tests/modules/node_access_test/node_access_test.info.yml b/core/modules/node/tests/modules/node_access_test/node_access_test.info.yml
index f63cdd659a..a815da8798 100644
--- a/core/modules/node/tests/modules/node_access_test/node_access_test.info.yml
+++ b/core/modules/node/tests/modules/node_access_test/node_access_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node permission testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.info.yml b/core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.info.yml
index 8daafc25a7..967af14a1f 100644
--- a/core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.info.yml
+++ b/core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node permission testing. Provides empty grants hook implementations.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/tests/modules/node_access_test_language/node_access_test_language.info.yml b/core/modules/node/tests/modules/node_access_test_language/node_access_test_language.info.yml
index aeec348929..104bd54558 100644
--- a/core/modules/node/tests/modules/node_access_test_language/node_access_test_language.info.yml
+++ b/core/modules/node/tests/modules/node_access_test_language/node_access_test_language.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for language-aware node access testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:options
diff --git a/core/modules/node/tests/modules/node_display_configurable_test/node_display_configurable_test.info.yml b/core/modules/node/tests/modules/node_display_configurable_test/node_display_configurable_test.info.yml
index c6b478d271..f6112919c3 100644
--- a/core/modules/node/tests/modules/node_display_configurable_test/node_display_configurable_test.info.yml
+++ b/core/modules/node/tests/modules/node_display_configurable_test/node_display_configurable_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node \Drupal\Core\Field\BaseFieldDefinition::setDisplayConfigurable() testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/tests/modules/node_test/node_test.info.yml b/core/modules/node/tests/modules/node_test/node_test.info.yml
index 952456fe25..24e468e527 100644
--- a/core/modules/node/tests/modules/node_test/node_test.info.yml
+++ b/core/modules/node/tests/modules/node_test/node_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node related testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/tests/modules/node_test_config/node_test_config.info.yml b/core/modules/node/tests/modules/node_test_config/node_test_config.info.yml
index c7e7665704..d67d57528f 100644
--- a/core/modules/node/tests/modules/node_test_config/node_test_config.info.yml
+++ b/core/modules/node/tests/modules/node_test_config/node_test_config.info.yml
@@ -1,6 +1,6 @@
name: 'Node configuration tests'
type: module
description: 'Support module for node configuration tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/node/tests/modules/node_test_exception/node_test_exception.info.yml b/core/modules/node/tests/modules/node_test_exception/node_test_exception.info.yml
index fac3fe7975..eebdc75c2a 100644
--- a/core/modules/node/tests/modules/node_test_exception/node_test_exception.info.yml
+++ b/core/modules/node/tests/modules/node_test_exception/node_test_exception.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node related exception testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/node/tests/modules/node_test_views/node_test_views.info.yml b/core/modules/node/tests/modules/node_test_views/node_test_views.info.yml
index a6ded4659c..14c282434a 100644
--- a/core/modules/node/tests/modules/node_test_views/node_test_views.info.yml
+++ b/core/modules/node/tests/modules/node_test_views/node_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views node tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
- drupal:views
diff --git a/core/modules/node/tests/node_access_test_auto_bubbling/node_access_test_auto_bubbling.info.yml b/core/modules/node/tests/node_access_test_auto_bubbling/node_access_test_auto_bubbling.info.yml
index 49a990d751..db034d4b4b 100644
--- a/core/modules/node/tests/node_access_test_auto_bubbling/node_access_test_auto_bubbling.info.yml
+++ b/core/modules/node/tests/node_access_test_auto_bubbling/node_access_test_auto_bubbling.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for node permission testing. Provides a route which does a node access query without explicitly specifying the corresponding cache context.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/options/options.info.yml b/core/modules/options/options.info.yml
index 41c5374a40..45e63e135a 100644
--- a/core/modules/options/options.info.yml
+++ b/core/modules/options/options.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Defines selection, check box and radio button widgets for text and numeric fields.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
- drupal:text
diff --git a/core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml b/core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml
index f88d03c50d..f05f314c04 100644
--- a/core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml
+++ b/core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml
@@ -1,7 +1,7 @@
name: 'Options config install test'
type: module
description: 'Support module for the Options module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/options/tests/options_test/options_test.info.yml b/core/modules/options/tests/options_test/options_test.info.yml
index add43a422c..9c9670ed47 100644
--- a/core/modules/options/tests/options_test/options_test.info.yml
+++ b/core/modules/options/tests/options_test/options_test.info.yml
@@ -1,6 +1,6 @@
name: 'Options test'
type: module
description: 'Support module for the Options module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/options/tests/options_test_views/options_test_views.info.yml b/core/modules/options/tests/options_test_views/options_test_views.info.yml
index d74ab19a08..bf724921a7 100644
--- a/core/modules/options/tests/options_test_views/options_test_views.info.yml
+++ b/core/modules/options/tests/options_test_views/options_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views options tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:options
- drupal:views
diff --git a/core/modules/page_cache/page_cache.info.yml b/core/modules/page_cache/page_cache.info.yml
index ba18ed638c..bcf988be31 100644
--- a/core/modules/page_cache/page_cache.info.yml
+++ b/core/modules/page_cache/page_cache.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Caches pages for anonymous users. Use when an external page cache is not available.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/page_cache/tests/modules/page_cache_form_test.info.yml b/core/modules/page_cache/tests/modules/page_cache_form_test.info.yml
index e18bb53498..c4fc1d7897 100644
--- a/core/modules/page_cache/tests/modules/page_cache_form_test.info.yml
+++ b/core/modules/page_cache/tests/modules/page_cache_form_test.info.yml
@@ -1,6 +1,6 @@
name: 'Page Cache Form Test'
type: module
description: 'Support module for the Page Cache module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/path/path.info.yml b/core/modules/path/path.info.yml
index ba2c759c99..09269fda19 100644
--- a/core/modules/path/path.info.yml
+++ b/core/modules/path/path.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Allows users to rename URLs.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: path.admin_overview
diff --git a/core/modules/quickedit/quickedit.info.yml b/core/modules/quickedit/quickedit.info.yml
index b9fc765d21..c4a7272f41 100644
--- a/core/modules/quickedit/quickedit.info.yml
+++ b/core/modules/quickedit/quickedit.info.yml
@@ -2,7 +2,7 @@ name: Quick Edit
type: module
description: 'In-place content editing.'
package: Core
-core: 8.x
+core: ~8
version: VERSION
dependencies:
- drupal:contextual
diff --git a/core/modules/quickedit/tests/modules/quickedit_test.info.yml b/core/modules/quickedit/tests/modules/quickedit_test.info.yml
index fe21dc5b9b..0099ffa80f 100644
--- a/core/modules/quickedit/tests/modules/quickedit_test.info.yml
+++ b/core/modules/quickedit/tests/modules/quickedit_test.info.yml
@@ -1,6 +1,6 @@
name: 'Quick Edit test'
type: module
description: 'Support module for the Quick Edit module tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/rdf/rdf.info.yml b/core/modules/rdf/rdf.info.yml
index ec1b50905b..db3815d64c 100644
--- a/core/modules/rdf/rdf.info.yml
+++ b/core/modules/rdf/rdf.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Enriches your content with metadata to let other applications (e.g. search engines, aggregators) better understand its relationships and attributes.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml b/core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml
index bef342f563..ee8a34ee60 100644
--- a/core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml
+++ b/core/modules/rdf/tests/rdf_conflicting_namespaces/rdf_conflicting_namespaces.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Test conflicting namespace declaration.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:rdf
diff --git a/core/modules/rdf/tests/rdf_test/rdf_test.info.yml b/core/modules/rdf/tests/rdf_test/rdf_test.info.yml
index 9e6a16bcc6..522232cecd 100644
--- a/core/modules/rdf/tests/rdf_test/rdf_test.info.yml
+++ b/core/modules/rdf/tests/rdf_test/rdf_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Test functionality for the RDF module.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- rdf
diff --git a/core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml b/core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml
index 0856b97022..63f058c0bc 100644
--- a/core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml
+++ b/core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Test namespace declaration.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:rdf
diff --git a/core/modules/responsive_image/responsive_image.info.yml b/core/modules/responsive_image/responsive_image.info.yml
index 8ddf2c72e5..0721e12e9c 100644
--- a/core/modules/responsive_image/responsive_image.info.yml
+++ b/core/modules/responsive_image/responsive_image.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:breakpoint
- drupal:image
diff --git a/core/modules/responsive_image/tests/modules/responsive_image_test_module/responsive_image_test_module.info.yml b/core/modules/responsive_image/tests/modules/responsive_image_test_module/responsive_image_test_module.info.yml
index 694e2dd9d6..74f63803eb 100644
--- a/core/modules/responsive_image/tests/modules/responsive_image_test_module/responsive_image_test_module.info.yml
+++ b/core/modules/responsive_image/tests/modules/responsive_image_test_module/responsive_image_test_module.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test theme for responsive image.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/rest/rest.info.yml b/core/modules/rest/rest.info.yml
index 8a4572ab36..91d0f3d5af 100644
--- a/core/modules/rest/rest.info.yml
+++ b/core/modules/rest/rest.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Exposes entities and other resources as RESTful web API'
package: Web services
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:serialization
diff --git a/core/modules/rest/tests/modules/config_test_rest/config_test_rest.info.yml b/core/modules/rest/tests/modules/config_test_rest/config_test_rest.info.yml
index b3af0b6638..40ca0fd8c9 100644
--- a/core/modules/rest/tests/modules/config_test_rest/config_test_rest.info.yml
+++ b/core/modules/rest/tests/modules/config_test_rest/config_test_rest.info.yml
@@ -2,6 +2,6 @@ name: 'Configuration test REST'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:config_test
diff --git a/core/modules/rest/tests/modules/rest_test/rest_test.info.yml b/core/modules/rest/tests/modules/rest_test/rest_test.info.yml
index 82282ee537..a317156df5 100644
--- a/core/modules/rest/tests/modules/rest_test/rest_test.info.yml
+++ b/core/modules/rest/tests/modules/rest_test/rest_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test hooks and resources for REST module.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/rest/tests/modules/rest_test_views/rest_test_views.info.yml b/core/modules/rest/tests/modules/rest_test_views/rest_test_views.info.yml
index 005af649e3..00ac871ea4 100644
--- a/core/modules/rest/tests/modules/rest_test_views/rest_test_views.info.yml
+++ b/core/modules/rest/tests/modules/rest_test_views/rest_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views REST tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:rest
- drupal:views
diff --git a/core/modules/search/search.info.yml b/core/modules/search/search.info.yml
index 97b7d3fe77..03f32e256c 100644
--- a/core/modules/search/search.info.yml
+++ b/core/modules/search/search.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Enables site-wide keyword searching.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.search_page.collection
diff --git a/core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml b/core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml
index 5b573478b4..e673e7df1c 100644
--- a/core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml
+++ b/core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test module that adds date conditions to node searches.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/search/tests/modules/search_embedded_form/search_embedded_form.info.yml b/core/modules/search/tests/modules/search_embedded_form/search_embedded_form.info.yml
index 0df41aa094..98ca73d43c 100644
--- a/core/modules/search/tests/modules/search_embedded_form/search_embedded_form.info.yml
+++ b/core/modules/search/tests/modules/search_embedded_form/search_embedded_form.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Search module testing of embedded forms.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/search/tests/modules/search_extra_type/search_extra_type.info.yml b/core/modules/search/tests/modules/search_extra_type/search_extra_type.info.yml
index 8f4c8a4c99..f85ca02c10 100644
--- a/core/modules/search/tests/modules/search_extra_type/search_extra_type.info.yml
+++ b/core/modules/search/tests/modules/search_extra_type/search_extra_type.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for Search module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:test_page_test
diff --git a/core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml b/core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml
index da34c5fa1b..bcf12cdba9 100644
--- a/core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml
+++ b/core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for search module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml b/core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml
index 8c6a3d824c..30a2925896 100644
--- a/core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml
+++ b/core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Search module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/serialization.info.yml b/core/modules/serialization/serialization.info.yml
index be8d3404c0..a7580c92e8 100644
--- a/core/modules/serialization/serialization.info.yml
+++ b/core/modules/serialization/serialization.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides a service for (de)serializing data to/from formats such as JSON and XML.'
package: Web services
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.info.yml b/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.info.yml
index 451a3748e2..a0970841cf 100644
--- a/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.info.yml
+++ b/core/modules/serialization/tests/modules/entity_serialization_test/entity_serialization_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test support for entity serialization tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/tests/modules/field_normalization_test/field_normalization_test.info.yml b/core/modules/serialization/tests/modules/field_normalization_test/field_normalization_test.info.yml
index 4ba215ecba..4b3409491d 100644
--- a/core/modules/serialization/tests/modules/field_normalization_test/field_normalization_test.info.yml
+++ b/core/modules/serialization/tests/modules/field_normalization_test/field_normalization_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test support for fieldItem normalization test support.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/test_datatype_boolean_emoji_normalizer.info.yml b/core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/test_datatype_boolean_emoji_normalizer.info.yml
index 0dabae3780..6a6e6c2156 100644
--- a/core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/test_datatype_boolean_emoji_normalizer.info.yml
+++ b/core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/test_datatype_boolean_emoji_normalizer.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test support for @DataType-level normalization.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/test_fieldtype_boolean_emoji_normalizer.info.yml b/core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/test_fieldtype_boolean_emoji_normalizer.info.yml
index e6fa999186..123398e34b 100644
--- a/core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/test_fieldtype_boolean_emoji_normalizer.info.yml
+++ b/core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/test_fieldtype_boolean_emoji_normalizer.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides test support for @FieldType-level normalization.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/serialization/tests/serialization_test/serialization_test.info.yml b/core/modules/serialization/tests/serialization_test/serialization_test.info.yml
index d6c01304ce..0bfd91f174 100644
--- a/core/modules/serialization/tests/serialization_test/serialization_test.info.yml
+++ b/core/modules/serialization/tests/serialization_test/serialization_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: "Support module for serialization tests."
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/settings_tray/settings_tray.info.yml b/core/modules/settings_tray/settings_tray.info.yml
index 8747d17af3..5dff7b3846 100644
--- a/core/modules/settings_tray/settings_tray.info.yml
+++ b/core/modules/settings_tray/settings_tray.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows users to directly edit the configuration of blocks on the current page.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
- drupal:toolbar
diff --git a/core/modules/settings_tray/tests/modules/settings_tray_override_test/settings_tray_override_test.info.yml b/core/modules/settings_tray/tests/modules/settings_tray_override_test/settings_tray_override_test.info.yml
index 5514518000..e320dc12a2 100644
--- a/core/modules/settings_tray/tests/modules/settings_tray_override_test/settings_tray_override_test.info.yml
+++ b/core/modules/settings_tray/tests/modules/settings_tray_override_test/settings_tray_override_test.info.yml
@@ -2,6 +2,6 @@ name: 'Configuration override test for Settings Tray'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:settings_tray
diff --git a/core/modules/settings_tray/tests/modules/settings_tray_test/settings_tray_test.info.yml b/core/modules/settings_tray/tests/modules/settings_tray_test/settings_tray_test.info.yml
index e8818867e1..854484ff92 100644
--- a/core/modules/settings_tray/tests/modules/settings_tray_test/settings_tray_test.info.yml
+++ b/core/modules/settings_tray/tests/modules/settings_tray_test/settings_tray_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides Settings Tray test functionality.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
- drupal:settings_tray
diff --git a/core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.info.yml b/core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.info.yml
index edc5a9dde5..38870c5d9a 100644
--- a/core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.info.yml
+++ b/core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides CSS fixes for tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:settings_tray
diff --git a/core/modules/shortcut/shortcut.info.yml b/core/modules/shortcut/shortcut.info.yml
index 8546317e10..02b38bf2ce 100644
--- a/core/modules/shortcut/shortcut.info.yml
+++ b/core/modules/shortcut/shortcut.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Allows users to manage customizable lists of shortcut links.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.shortcut_set.collection
dependencies:
- drupal:link
diff --git a/core/modules/simpletest/simpletest.info.yml b/core/modules/simpletest/simpletest.info.yml
index 232680e7cf..5bc5289005 100644
--- a/core/modules/simpletest/simpletest.info.yml
+++ b/core/modules/simpletest/simpletest.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Provides a framework for unit and functional testing.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: simpletest.settings
diff --git a/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml
index 2cb995bd85..96b16929c3 100644
--- a/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml
+++ b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Simpletest deprecation tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/statistics/statistics.info.yml b/core/modules/statistics/statistics.info.yml
index 84a50bec9a..7761c1af1f 100644
--- a/core/modules/statistics/statistics.info.yml
+++ b/core/modules/statistics/statistics.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Logs content statistics for your site.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: statistics.settings
dependencies:
- drupal:node
diff --git a/core/modules/statistics/tests/modules/statistics_test_views/statistics_test_views.info.yml b/core/modules/statistics/tests/modules/statistics_test_views/statistics_test_views.info.yml
index beaf8e94a3..5ed31d96a6 100644
--- a/core/modules/statistics/tests/modules/statistics_test_views/statistics_test_views.info.yml
+++ b/core/modules/statistics/tests/modules/statistics_test_views/statistics_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views statistics tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:statistics
- drupal:views
diff --git a/core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml b/core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml
index 601daf1b53..3d0e62f436 100644
--- a/core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml
+++ b/core/modules/statistics/tests/themes/statistics_test_attached/statistics_test_attached.info.yml
@@ -2,4 +2,4 @@ name: 'Statistics test attached theme'
type: theme
description: 'Theme for testing attached library'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/syslog/syslog.info.yml b/core/modules/syslog/syslog.info.yml
index 1d8dc8f1b6..88de36754d 100644
--- a/core/modules/syslog/syslog.info.yml
+++ b/core/modules/syslog/syslog.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Logs and records system events to syslog.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: system.logging_settings
diff --git a/core/modules/syslog/tests/modules/syslog_test/syslog_test.info.yml b/core/modules/syslog/tests/modules/syslog_test/syslog_test.info.yml
index cac4de2a5e..65dcfad4b9 100644
--- a/core/modules/syslog/tests/modules/syslog_test/syslog_test.info.yml
+++ b/core/modules/syslog/tests/modules/syslog_test/syslog_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides a test logger for syslog module.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:syslog
diff --git a/core/modules/system/src/Controller/SystemController.php b/core/modules/system/src/Controller/SystemController.php
index 72c2e8adea..ce033c4e67 100644
--- a/core/modules/system/src/Controller/SystemController.php
+++ b/core/modules/system/src/Controller/SystemController.php
@@ -12,6 +12,7 @@
use Drupal\Core\Url;
use Drupal\system\SystemManager;
use Symfony\Component\DependencyInjection\ContainerInterface;
+use Drupal\Component\Version\DrupalSemver;
/**
* Returns responses for System routes.
@@ -223,7 +224,7 @@ public function themesPage() {
if (empty($theme->status)) {
// Ensure this theme is compatible with this version of core.
- $theme->incompatible_core = !isset($theme->info['core']) || ($theme->info['core'] != \DRUPAL::CORE_COMPATIBILITY);
+ $theme->incompatible_core = !isset($theme->info['core']) || !DrupalSemver::satisfies(\Drupal::VERSION, $theme->info['core']);
// Require the 'content' region to make sure the main page
// content has a common place in all themes.
$theme->incompatible_region = !isset($theme->info['regions']['content']);
diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index cabbe2ebaa..e4ccdfb9b5 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -3,6 +3,7 @@
namespace Drupal\system\Form;
use Drupal\Component\Utility\Unicode;
+use Drupal\Component\Version\DrupalSemver;
use Drupal\Core\Config\PreExistingConfigException;
use Drupal\Core\Config\UnmetDependenciesException;
use Drupal\Core\Access\AccessManagerInterface;
@@ -20,6 +21,7 @@
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
+
/**
* Provides module installation interface.
*
@@ -295,10 +297,15 @@ protected function buildRow(array $modules, Extension $module, $distribution) {
$reasons = [];
// Check the core compatibility.
- if ($module->info['core'] != \Drupal::CORE_COMPATIBILITY) {
+ if (!DrupalSemver::satisfies(\Drupal::VERSION, $module->info['core'])) {
$compatible = FALSE;
$reasons[] = $this->t('This version is not compatible with Drupal @core_version and should be replaced.', [
- '@core_version' => \Drupal::CORE_COMPATIBILITY,
+ '@core_version' => \Drupal::VERSION,
+ ]);
+ $row['#requires']['core'] = $this->t('Drupal Core (@core_requirement) (incompatible with version @core_version)', [
+ '@module' => $module->getName(),
+ '@core_requirement' => $module->info['core'],
+ '@core_version' => \Drupal::VERSION,
]);
}
@@ -342,7 +349,7 @@ protected function buildRow(array $modules, Extension $module, $distribution) {
}
// Disable the checkbox if the dependency is incompatible with this
// version of Drupal core.
- elseif ($modules[$dependency]->info['core'] != \Drupal::CORE_COMPATIBILITY) {
+ elseif (!DrupalSemver::satisfies(\Drupal::VERSION, $modules[$dependency]->info['core'])) {
$row['#requires'][$dependency] = $this->t('@module (incompatible with this version of Drupal core)', [
'@module' => $name,
]);
diff --git a/core/modules/system/system.info.yml b/core/modules/system/system.info.yml
index 1f2a064484..8610ca6464 100644
--- a/core/modules/system/system.info.yml
+++ b/core/modules/system/system.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Handles general site configuration for administrators.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
required: true
configure: system.admin_config_system
diff --git a/core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml b/core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml
index 2c678356c0..22a441290e 100644
--- a/core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml
+++ b/core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml
@@ -1,5 +1,5 @@
name: Accept header based routing test
-core: 8.x
+core: ~8
type: module
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/action_test/action_test.info.yml b/core/modules/system/tests/modules/action_test/action_test.info.yml
index 7cefe06e0a..772bb662ad 100644
--- a/core/modules/system/tests/modules/action_test/action_test.info.yml
+++ b/core/modules/system/tests/modules/action_test/action_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for action testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.info.yml b/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.info.yml
index ba31a29db8..ab354287b0 100644
--- a/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.info.yml
+++ b/core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.info.yml
@@ -1,6 +1,6 @@
name: 'AJAX form test mock module'
type: module
description: 'Test for AJAX form calls.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/ajax_test/ajax_test.info.yml b/core/modules/system/tests/modules/ajax_test/ajax_test.info.yml
index dbd359664b..3151fe9f12 100644
--- a/core/modules/system/tests/modules/ajax_test/ajax_test.info.yml
+++ b/core/modules/system/tests/modules/ajax_test/ajax_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for AJAX framework tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:contact
diff --git a/core/modules/system/tests/modules/batch_test/batch_test.info.yml b/core/modules/system/tests/modules/batch_test/batch_test.info.yml
index 072017e72c..b7c1903bc7 100644
--- a/core/modules/system/tests/modules/batch_test/batch_test.info.yml
+++ b/core/modules/system/tests/modules/batch_test/batch_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Batch API tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/cache_test/cache_test.info.yml b/core/modules/system/tests/modules/cache_test/cache_test.info.yml
index 329e0d6617..ad5f135c43 100644
--- a/core/modules/system/tests/modules/cache_test/cache_test.info.yml
+++ b/core/modules/system/tests/modules/cache_test/cache_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for cache system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/common_test/common_test.info.yml b/core/modules/system/tests/modules/common_test/common_test.info.yml
index 2efb155b93..50e12df74c 100644
--- a/core/modules/system/tests/modules/common_test/common_test.info.yml
+++ b/core/modules/system/tests/modules/common_test/common_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Common tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/common_test_cron_helper/common_test_cron_helper.info.yml b/core/modules/system/tests/modules/common_test_cron_helper/common_test_cron_helper.info.yml
index 5d1ab7f6d4..e6c1221ffb 100644
--- a/core/modules/system/tests/modules/common_test_cron_helper/common_test_cron_helper.info.yml
+++ b/core/modules/system/tests/modules/common_test_cron_helper/common_test_cron_helper.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Helper module for CronRunTestCase::testCronExceptions().'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/condition_test/condition_test.info.yml b/core/modules/system/tests/modules/condition_test/condition_test.info.yml
index b664502411..75b9e424f6 100644
--- a/core/modules/system/tests/modules/condition_test/condition_test.info.yml
+++ b/core/modules/system/tests/modules/condition_test/condition_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: "Test general form component for condition plugins."
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/conneg_test/conneg_test.info.yml b/core/modules/system/tests/modules/conneg_test/conneg_test.info.yml
index 256ddf43f4..2fca80cdbc 100644
--- a/core/modules/system/tests/modules/conneg_test/conneg_test.info.yml
+++ b/core/modules/system/tests/modules/conneg_test/conneg_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support testing content negotiation variations.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml b/core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml
index 014e9188cb..5a7b2c22a5 100644
--- a/core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml
+++ b/core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for the cron queue runner.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/csrf_test/csrf_test.info.yml b/core/modules/system/tests/modules/csrf_test/csrf_test.info.yml
index c830f58402..a2fcad9eea 100644
--- a/core/modules/system/tests/modules/csrf_test/csrf_test.info.yml
+++ b/core/modules/system/tests/modules/csrf_test/csrf_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support testing protecting routes with CSRF token.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml b/core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml
index 436b022dba..0134599ac6 100644
--- a/core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml
+++ b/core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Disables CSS animations for tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/database_test/database_test.info.yml b/core/modules/system/tests/modules/database_test/database_test.info.yml
index 92cea84c63..926bdf27c3 100644
--- a/core/modules/system/tests/modules/database_test/database_test.info.yml
+++ b/core/modules/system/tests/modules/database_test/database_test.info.yml
@@ -1,6 +1,6 @@
name: 'Database Test'
type: module
description: 'Support module for Database layer tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/default_format_test/default_format_test.info.yml b/core/modules/system/tests/modules/default_format_test/default_format_test.info.yml
index 0a02a0688a..475b6266a1 100644
--- a/core/modules/system/tests/modules/default_format_test/default_format_test.info.yml
+++ b/core/modules/system/tests/modules/default_format_test/default_format_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing default route format.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/deprecation_test/deprecation_test.info.yml b/core/modules/system/tests/modules/deprecation_test/deprecation_test.info.yml
index 5b289513ca..082dab91e0 100644
--- a/core/modules/system/tests/modules/deprecation_test/deprecation_test.info.yml
+++ b/core/modules/system/tests/modules/deprecation_test/deprecation_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing deprecation behaviors.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.info.yml b/core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.info.yml
index 8dde142ae3..3a2949db53 100644
--- a/core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.info.yml
+++ b/core/modules/system/tests/modules/dialog_renderer_test/dialog_renderer_test.info.yml
@@ -1,6 +1,6 @@
name: 'Dialog Renderer Test'
type: module
description: 'Support module for Dialog Renderer tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/display_variant_test/display_variant_test.info.yml b/core/modules/system/tests/modules/display_variant_test/display_variant_test.info.yml
index 53e543c3a3..99aed03dec 100644
--- a/core/modules/system/tests/modules/display_variant_test/display_variant_test.info.yml
+++ b/core/modules/system/tests/modules/display_variant_test/display_variant_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing display variants.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml b/core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
index 30bccf7122..1c1efd56eb 100644
--- a/core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
+++ b/core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing the drupal_system_listing function.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/early_rendering_controller_test/early_rendering_controller_test.info.yml b/core/modules/system/tests/modules/early_rendering_controller_test/early_rendering_controller_test.info.yml
index 44ab452475..1bc9c2dc55 100644
--- a/core/modules/system/tests/modules/early_rendering_controller_test/early_rendering_controller_test.info.yml
+++ b/core/modules/system/tests/modules/early_rendering_controller_test/early_rendering_controller_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for EarlyRenderingControllerTest.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/element_info_test/element_info_test.info.yml b/core/modules/system/tests/modules/element_info_test/element_info_test.info.yml
index 9e43148ee6..d7d1eb825b 100644
--- a/core/modules/system/tests/modules/element_info_test/element_info_test.info.yml
+++ b/core/modules/system/tests/modules/element_info_test/element_info_test.info.yml
@@ -2,4 +2,4 @@ name: 'Element info test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml b/core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml
index 7d35503993..5363c95e12 100644
--- a/core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml
+++ b/core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml
@@ -1,6 +1,6 @@
name: 'Entity CRUD Hooks Test'
type: module
description: 'Support module for CRUD hook tests.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/entity_reference_test/entity_reference_test.info.yml b/core/modules/system/tests/modules/entity_reference_test/entity_reference_test.info.yml
index d617a0f6dd..bb1acdd659 100644
--- a/core/modules/system/tests/modules/entity_reference_test/entity_reference_test.info.yml
+++ b/core/modules/system/tests/modules/entity_reference_test/entity_reference_test.info.yml
@@ -1,7 +1,7 @@
name: "Entity Reference Test"
type: module
description: "Support module for the Entity Reference tests."
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/system/tests/modules/entity_reference_test_views/entity_reference_test_views.info.yml b/core/modules/system/tests/modules/entity_reference_test_views/entity_reference_test_views.info.yml
index 0209b78e4c..2119c00037 100644
--- a/core/modules/system/tests/modules/entity_reference_test_views/entity_reference_test_views.info.yml
+++ b/core/modules/system/tests/modules/entity_reference_test_views/entity_reference_test_views.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides default views for views entity reference tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/system/tests/modules/entity_schema_test/entity_schema_test.info.yml b/core/modules/system/tests/modules/entity_schema_test/entity_schema_test.info.yml
index b1d814255b..153d0b4ff0 100644
--- a/core/modules/system/tests/modules/entity_schema_test/entity_schema_test.info.yml
+++ b/core/modules/system/tests/modules/entity_schema_test/entity_schema_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides entity and field definitions to test entity schema.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test
diff --git a/core/modules/system/tests/modules/entity_test/entity_test.info.yml b/core/modules/system/tests/modules/entity_test/entity_test.info.yml
index 2f1859403d..c111c86619 100644
--- a/core/modules/system/tests/modules/entity_test/entity_test.info.yml
+++ b/core/modules/system/tests/modules/entity_test/entity_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides entity types based upon the CRUD API.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
- drupal:text
diff --git a/core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.info.yml b/core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.info.yml
index c59ea9ae1b..9ad6663c14 100644
--- a/core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.info.yml
+++ b/core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Tests extending and altering entity constraints.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test
diff --git a/core/modules/system/tests/modules/entity_test_extra/entity_test_extra.info.yml b/core/modules/system/tests/modules/entity_test_extra/entity_test_extra.info.yml
index 9d6852eb99..d74cc1522b 100644
--- a/core/modules/system/tests/modules/entity_test_extra/entity_test_extra.info.yml
+++ b/core/modules/system/tests/modules/entity_test_extra/entity_test_extra.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides extra fields for entity test entity types.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test
diff --git a/core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml b/core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml
index eb905d4f6f..7968280d3a 100644
--- a/core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml
+++ b/core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides a test operation to entities.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/entity_test_revlog/entity_test_revlog.info.yml b/core/modules/system/tests/modules/entity_test_revlog/entity_test_revlog.info.yml
index 4afba6215f..068904148c 100644
--- a/core/modules/system/tests/modules/entity_test_revlog/entity_test_revlog.info.yml
+++ b/core/modules/system/tests/modules/entity_test_revlog/entity_test_revlog.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides two entity types with revision logging capabilities.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.info.yml b/core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.info.yml
index 210ced8327..703c7573cc 100644
--- a/core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.info.yml
+++ b/core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides testing for the entity schema converter.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test_update
diff --git a/core/modules/system/tests/modules/entity_test_third_party/entity_test_third_party.info.yml b/core/modules/system/tests/modules/entity_test_third_party/entity_test_third_party.info.yml
index 00560c72e6..c0bb4982e3 100644
--- a/core/modules/system/tests/modules/entity_test_third_party/entity_test_third_party.info.yml
+++ b/core/modules/system/tests/modules/entity_test_third_party/entity_test_third_party.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides third-party settings for test entity types.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test
diff --git a/core/modules/system/tests/modules/entity_test_update/entity_test_update.info.yml b/core/modules/system/tests/modules/entity_test_update/entity_test_update.info.yml
index 330028a7a1..9d77c71564 100644
--- a/core/modules/system/tests/modules/entity_test_update/entity_test_update.info.yml
+++ b/core/modules/system/tests/modules/entity_test_update/entity_test_update.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides an entity type for testing definition and schema updates.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/error_service_test/error_service_test.info.yml b/core/modules/system/tests/modules/error_service_test/error_service_test.info.yml
index 6a5f99c40f..09f7c74d2f 100644
--- a/core/modules/system/tests/modules/error_service_test/error_service_test.info.yml
+++ b/core/modules/system/tests/modules/error_service_test/error_service_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for causing bedlam in container rebuilds.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/error_test/error_test.info.yml b/core/modules/system/tests/modules/error_test/error_test.info.yml
index f91c7b3570..54f34ae85c 100644
--- a/core/modules/system/tests/modules/error_test/error_test.info.yml
+++ b/core/modules/system/tests/modules/error_test/error_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for error and exception testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/experimental_module_dependency_test/experimental_module_dependency_test.info.yml b/core/modules/system/tests/modules/experimental_module_dependency_test/experimental_module_dependency_test.info.yml
index f84f616c40..c6462280fd 100644
--- a/core/modules/system/tests/modules/experimental_module_dependency_test/experimental_module_dependency_test.info.yml
+++ b/core/modules/system/tests/modules/experimental_module_dependency_test/experimental_module_dependency_test.info.yml
@@ -5,4 +5,4 @@ package: Testing
dependencies:
- drupal:experimental_module_test
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.info.yml b/core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.info.yml
index 8ac724b994..ac4972597c 100644
--- a/core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.info.yml
+++ b/core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Module in the experimental package to test hook_requirements() with an experimental module.'
package: Core (Experimental)
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/experimental_module_test/experimental_module_test.info.yml b/core/modules/system/tests/modules/experimental_module_test/experimental_module_test.info.yml
index 6cf19cd066..b721f2d521 100644
--- a/core/modules/system/tests/modules/experimental_module_test/experimental_module_test.info.yml
+++ b/core/modules/system/tests/modules/experimental_module_test/experimental_module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Module in the experimental package to test experimental functionality.'
package: Core (Experimental)
version: 8.y.x-unstable
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/form_test/form_test.info.yml b/core/modules/system/tests/modules/form_test/form_test.info.yml
index fdf1076ef6..6533ca75e4 100644
--- a/core/modules/system/tests/modules/form_test/form_test.info.yml
+++ b/core/modules/system/tests/modules/form_test/form_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for Form API tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- file
- filter
diff --git a/core/modules/system/tests/modules/hold_test/hold_test.info.yml b/core/modules/system/tests/modules/hold_test/hold_test.info.yml
index f767751422..dd251ee6e3 100644
--- a/core/modules/system/tests/modules/hold_test/hold_test.info.yml
+++ b/core/modules/system/tests/modules/hold_test/hold_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support testing with request/response hold.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/httpkernel_test/httpkernel_test.info.yml b/core/modules/system/tests/modules/httpkernel_test/httpkernel_test.info.yml
index 5f1375f282..240798c7f0 100644
--- a/core/modules/system/tests/modules/httpkernel_test/httpkernel_test.info.yml
+++ b/core/modules/system/tests/modules/httpkernel_test/httpkernel_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for httpkernel tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/image_test/image_test.info.yml b/core/modules/system/tests/modules/image_test/image_test.info.yml
index 2e54287d54..fc999c759a 100644
--- a/core/modules/system/tests/modules/image_test/image_test.info.yml
+++ b/core/modules/system/tests/modules/image_test/image_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for image toolkit tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml b/core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml
index db5cdcc570..db8716344f 100644
--- a/core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml
+++ b/core/modules/system/tests/modules/invalid_module_name_over_the_maximum_allowed_character_length/invalid_module_name_over_the_maximum_allowed_character_length.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test module with a name over the maximum allowed characters.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml b/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml
index a5ec155cec..513f467087 100644
--- a/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml
+++ b/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml
@@ -3,4 +3,4 @@ description: 'Provides custom ajax commands used for tests'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/js_message_test/js_message_test.info.yml b/core/modules/system/tests/modules/js_message_test/js_message_test.info.yml
index e8bc73b065..fef956b194 100644
--- a/core/modules/system/tests/modules/js_message_test/js_message_test.info.yml
+++ b/core/modules/system/tests/modules/js_message_test/js_message_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Module for the JSMessageTest test.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml b/core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml
index 787ef146ff..699c12f6e7 100644
--- a/core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml
+++ b/core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Module for the JSWebAssert test.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml b/core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml
index 1da31bcc54..6333fac8d8 100644
--- a/core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml
+++ b/core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml
@@ -1,7 +1,7 @@
name: 'KeyValue tests'
type: module
description: 'A support module to test key value storage.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
hidden: true
diff --git a/core/modules/system/tests/modules/layout_test/layout_test.info.yml b/core/modules/system/tests/modules/layout_test/layout_test.info.yml
index bfed2a5bb0..233ed7fc3c 100644
--- a/core/modules/system/tests/modules/layout_test/layout_test.info.yml
+++ b/core/modules/system/tests/modules/layout_test/layout_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing layouts.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.info.yml b/core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.info.yml
index e7e55e5038..82a42b2e74 100644
--- a/core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.info.yml
+++ b/core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.info.yml
@@ -3,4 +3,4 @@ description: 'Helps test a bug triggered by the url_generator maintaining a stal
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/link_generation_test/link_generation_test.info.yml b/core/modules/system/tests/modules/link_generation_test/link_generation_test.info.yml
index 2f200a4232..1f7cd18865 100644
--- a/core/modules/system/tests/modules/link_generation_test/link_generation_test.info.yml
+++ b/core/modules/system/tests/modules/link_generation_test/link_generation_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test hooks fired in link generation.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml b/core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml
index 08ae1e8f0c..69ffd08f8f 100644
--- a/core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml
+++ b/core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml
@@ -3,4 +3,4 @@ description: 'Test if HTML in mails works as expected.'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/menu_test/menu_test.info.yml b/core/modules/system/tests/modules/menu_test/menu_test.info.yml
index 3d082e3251..e7c22989f4 100644
--- a/core/modules/system/tests/modules/menu_test/menu_test.info.yml
+++ b/core/modules/system/tests/modules/menu_test/menu_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for menu hook testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:test_page_test
- drupal:menu_ui
diff --git a/core/modules/system/tests/modules/module_autoload_test/module_autoload_test.info.yml b/core/modules/system/tests/modules/module_autoload_test/module_autoload_test.info.yml
index 1805185956..9e67b369ba 100644
--- a/core/modules/system/tests/modules/module_autoload_test/module_autoload_test.info.yml
+++ b/core/modules/system/tests/modules/module_autoload_test/module_autoload_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for module system tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/module_cachebin/module_cachebin.info.yml b/core/modules/system/tests/modules/module_cachebin/module_cachebin.info.yml
index d255795c52..1d99a891d7 100644
--- a/core/modules/system/tests/modules/module_cachebin/module_cachebin.info.yml
+++ b/core/modules/system/tests/modules/module_cachebin/module_cachebin.info.yml
@@ -3,5 +3,5 @@ type: module
description: Test cache bins defined by modules.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.info.yml b/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.info.yml
index 4e88ccb8da..8b983bd87c 100644
--- a/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.info.yml
+++ b/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.info.yml
@@ -3,5 +3,5 @@ type: module
description: Test module used to test adding modules with child module.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.info.yml b/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.info.yml
index 794d624a6c..c78c1b008f 100644
--- a/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.info.yml
+++ b/core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.info.yml
@@ -3,7 +3,7 @@ type: module
description: Child of test module used to test adding modules with child module.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
dependencies:
- drupal:module_handler_test_multiple
diff --git a/core/modules/system/tests/modules/module_install_class_loader_test1/module_install_class_loader_test1.info.yml b/core/modules/system/tests/modules/module_install_class_loader_test1/module_install_class_loader_test1.info.yml
index 83c54d91e4..ffa482f89a 100644
--- a/core/modules/system/tests/modules/module_install_class_loader_test1/module_install_class_loader_test1.info.yml
+++ b/core/modules/system/tests/modules/module_install_class_loader_test1/module_install_class_loader_test1.info.yml
@@ -2,5 +2,5 @@ name: 'Module install class loader test1'
description: 'Support module for tests that the class loader behaves as expected during module install.'
type: module
package: Testing
-core: 8.x
+core: ~8
version: VERSION
diff --git a/core/modules/system/tests/modules/module_install_class_loader_test2/module_install_class_loader_test2.info.yml b/core/modules/system/tests/modules/module_install_class_loader_test2/module_install_class_loader_test2.info.yml
index b2a677c5c8..6e627f0ae0 100644
--- a/core/modules/system/tests/modules/module_install_class_loader_test2/module_install_class_loader_test2.info.yml
+++ b/core/modules/system/tests/modules/module_install_class_loader_test2/module_install_class_loader_test2.info.yml
@@ -2,7 +2,7 @@ name: 'Module install class loader test2'
description: 'Support module for tests that the class loader behaves as expected during module install.'
type: module
package: Testing
-core: 8.x
+core: ~8
version: VERSION
dependencies:
- drupal:module_install_class_loader_test1
diff --git a/core/modules/system/tests/modules/module_installer_config_test/module_installer_config_test.info.yml b/core/modules/system/tests/modules/module_installer_config_test/module_installer_config_test.info.yml
index 4c600b68be..32d7530e8a 100644
--- a/core/modules/system/tests/modules/module_installer_config_test/module_installer_config_test.info.yml
+++ b/core/modules/system/tests/modules/module_installer_config_test/module_installer_config_test.info.yml
@@ -2,5 +2,5 @@ name: 'Module installer config test'
description: 'Support module for tests that require a failed module install.'
type: module
package: Testing
-core: 8.x
+core: ~8
version: VERSION
diff --git a/core/modules/system/tests/modules/module_required_test/module_required_test.info.yml b/core/modules/system/tests/modules/module_required_test/module_required_test.info.yml
index f424d95cfb..569e454a93 100644
--- a/core/modules/system/tests/modules/module_required_test/module_required_test.info.yml
+++ b/core/modules/system/tests/modules/module_required_test/module_required_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for module system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
# Depends on the Node module to test making a module required using
# hook_system_info_alter() and ensuring that its dependencies also become
# required.
diff --git a/core/modules/system/tests/modules/module_test/module_test.info.yml b/core/modules/system/tests/modules/module_test/module_test.info.yml
index 5c63da21a6..f896d1a053 100644
--- a/core/modules/system/tests/modules/module_test/module_test.info.yml
+++ b/core/modules/system/tests/modules/module_test/module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for module system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.info.yml b/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.info.yml
index eab08261b5..1ad2af83c4 100644
--- a/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.info.yml
+++ b/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- new_dependency_test_with_service
diff --git a/core/modules/system/tests/modules/new_dependency_test_with_service/new_dependency_test_with_service.info.yml b/core/modules/system/tests/modules/new_dependency_test_with_service/new_dependency_test_with_service.info.yml
index 5091a7f79d..b1c2be415c 100644
--- a/core/modules/system/tests/modules/new_dependency_test_with_service/new_dependency_test_with_service.info.yml
+++ b/core/modules/system/tests/modules/new_dependency_test_with_service/new_dependency_test_with_service.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/off_canvas_test/off_canvas_test.info.yml b/core/modules/system/tests/modules/off_canvas_test/off_canvas_test.info.yml
index 9680b1842d..bb697a15bf 100644
--- a/core/modules/system/tests/modules/off_canvas_test/off_canvas_test.info.yml
+++ b/core/modules/system/tests/modules/off_canvas_test/off_canvas_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides off-canvas test links.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/pager_test/pager_test.info.yml b/core/modules/system/tests/modules/pager_test/pager_test.info.yml
index 54a4a40b9d..3757fabb91 100644
--- a/core/modules/system/tests/modules/pager_test/pager_test.info.yml
+++ b/core/modules/system/tests/modules/pager_test/pager_test.info.yml
@@ -1,5 +1,5 @@
type: module
-core: 8.x
+core: ~8
name: 'Pager Test'
description: 'Support module for pager tests.'
package: Testing
diff --git a/core/modules/system/tests/modules/paramconverter_test/paramconverter_test.info.yml b/core/modules/system/tests/modules/paramconverter_test/paramconverter_test.info.yml
index 1953d92942..25c9a316cd 100644
--- a/core/modules/system/tests/modules/paramconverter_test/paramconverter_test.info.yml
+++ b/core/modules/system/tests/modules/paramconverter_test/paramconverter_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: "Support module for paramconverter testing."
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml b/core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml
index 37208e9b62..ba0cf42e45 100644
--- a/core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml
+++ b/core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing path aliases on a route with encoded characters in the path.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/path_test/path_test.info.yml b/core/modules/system/tests/modules/path_test/path_test.info.yml
index ec7e405704..f36c70aaa1 100644
--- a/core/modules/system/tests/modules/path_test/path_test.info.yml
+++ b/core/modules/system/tests/modules/path_test/path_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for path hook testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/phpunit_test/phpunit_test.info.yml b/core/modules/system/tests/modules/phpunit_test/phpunit_test.info.yml
index e0a4c6e8df..97837dd019 100644
--- a/core/modules/system/tests/modules/phpunit_test/phpunit_test.info.yml
+++ b/core/modules/system/tests/modules/phpunit_test/phpunit_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides dummy classes for use by SimpleTest tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/plugin_test/plugin_test.info.yml b/core/modules/system/tests/modules/plugin_test/plugin_test.info.yml
index 950a1d02de..5c967e2649 100644
--- a/core/modules/system/tests/modules/plugin_test/plugin_test.info.yml
+++ b/core/modules/system/tests/modules/plugin_test/plugin_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test that plugins can provide plugins and provide namespace discovery for plugin test implementations.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml b/core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml
index f3d0a5ba08..7ad20f34e5 100644
--- a/core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml
+++ b/core/modules/system/tests/modules/plugin_test_extended/plugin_test_extended.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test annotations can extend other annotations in a different namespace.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml b/core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml
index 9441db0658..e7f31ead83 100644
--- a/core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml
+++ b/core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for RenderArrayNonHtmlSubscriberTest.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml b/core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml
index 7662e3077f..d8041db3f4 100644
--- a/core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml
+++ b/core/modules/system/tests/modules/render_attached_test/render_attached_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for HtmlResponseAttachmentsTest.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:block
diff --git a/core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml b/core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml
index 532695bc0a..ffeab926b6 100644
--- a/core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml
+++ b/core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for PlaceholderMessageTest.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/requirements1_test/requirements1_test.info.yml b/core/modules/system/tests/modules/requirements1_test/requirements1_test.info.yml
index 6288bf3e52..22fde0a446 100644
--- a/core/modules/system/tests/modules/requirements1_test/requirements1_test.info.yml
+++ b/core/modules/system/tests/modules/requirements1_test/requirements1_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Tests that a module is not installed when it fails hook_requirements(''install'').'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/requirements2_test/requirements2_test.info.yml b/core/modules/system/tests/modules/requirements2_test/requirements2_test.info.yml
index 4c1a367db0..aafb19376e 100644
--- a/core/modules/system/tests/modules/requirements2_test/requirements2_test.info.yml
+++ b/core/modules/system/tests/modules/requirements2_test/requirements2_test.info.yml
@@ -6,4 +6,4 @@ dependencies:
- drupal:comment
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/router_test_directory/router_test.info.yml b/core/modules/system/tests/modules/router_test_directory/router_test.info.yml
index 27a082783d..4ac7f31e2e 100644
--- a/core/modules/system/tests/modules/router_test_directory/router_test.info.yml
+++ b/core/modules/system/tests/modules/router_test_directory/router_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for routing testing. In a directory that does not match the module name to test that use case.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml b/core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml
index ba84020c7f..573d6eb7a0 100644
--- a/core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml
+++ b/core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for service provider testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml b/core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
index b376a57e54..4866480ab2 100644
--- a/core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
+++ b/core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for session.exists cache context testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/session_test/session_test.info.yml b/core/modules/system/tests/modules/session_test/session_test.info.yml
index b9abfef0a9..9403f7d24d 100644
--- a/core/modules/system/tests/modules/session_test/session_test.info.yml
+++ b/core/modules/system/tests/modules/session_test/session_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for session data testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/system_dependencies_test/system_dependencies_test.info.yml b/core/modules/system/tests/modules/system_dependencies_test/system_dependencies_test.info.yml
index fae988033b..f3f8008659 100644
--- a/core/modules/system/tests/modules/system_dependencies_test/system_dependencies_test.info.yml
+++ b/core/modules/system/tests/modules/system_dependencies_test/system_dependencies_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing system dependencies.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:_missing_dependency
diff --git a/core/modules/system/tests/modules/system_incompatible_core_version_dependencies_test/system_incompatible_core_version_dependencies_test.info.yml b/core/modules/system/tests/modules/system_incompatible_core_version_dependencies_test/system_incompatible_core_version_dependencies_test.info.yml
index 449980e7df..4a4281536e 100644
--- a/core/modules/system/tests/modules/system_incompatible_core_version_dependencies_test/system_incompatible_core_version_dependencies_test.info.yml
+++ b/core/modules/system/tests/modules/system_incompatible_core_version_dependencies_test/system_incompatible_core_version_dependencies_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing system dependencies.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:system_incompatible_core_version_test
diff --git a/core/modules/system/tests/modules/system_incompatible_core_version_test_9x/system_incompatible_core_version_test_9x.info.yml b/core/modules/system/tests/modules/system_incompatible_core_version_test_9x/system_incompatible_core_version_test_9x.info.yml
new file mode 100644
index 0000000000..2f9f9d5750
--- /dev/null
+++ b/core/modules/system/tests/modules/system_incompatible_core_version_test_9x/system_incompatible_core_version_test_9x.info.yml
@@ -0,0 +1,6 @@
+name: 'System incompatible core 9.x version test'
+type: module
+description: 'Support module for testing system core incompatibility.'
+package: Testing
+version: 1.0.0
+core: 99.x
diff --git a/core/modules/system/tests/modules/system_incompatible_module_version_dependencies_test/system_incompatible_module_version_dependencies_test.info.yml b/core/modules/system/tests/modules/system_incompatible_module_version_dependencies_test/system_incompatible_module_version_dependencies_test.info.yml
index cafa61c9b8..31266b1f10 100644
--- a/core/modules/system/tests/modules/system_incompatible_module_version_dependencies_test/system_incompatible_module_version_dependencies_test.info.yml
+++ b/core/modules/system/tests/modules/system_incompatible_module_version_dependencies_test/system_incompatible_module_version_dependencies_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing system dependencies.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- 'drupal:system_incompatible_module_version_test (>2.0)'
diff --git a/core/modules/system/tests/modules/system_incompatible_module_version_test/system_incompatible_module_version_test.info.yml b/core/modules/system/tests/modules/system_incompatible_module_version_test/system_incompatible_module_version_test.info.yml
index f0076b1e43..af692c7c8c 100644
--- a/core/modules/system/tests/modules/system_incompatible_module_version_test/system_incompatible_module_version_test.info.yml
+++ b/core/modules/system/tests/modules/system_incompatible_module_version_test/system_incompatible_module_version_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing system dependencies.'
package: Testing
version: '1.0'
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/system_incompatible_php_version_test/system_incompatible_php_version_test.info.yml b/core/modules/system/tests/modules/system_incompatible_php_version_test/system_incompatible_php_version_test.info.yml
index a3a26ee55d..55832b1eac 100644
--- a/core/modules/system/tests/modules/system_incompatible_php_version_test/system_incompatible_php_version_test.info.yml
+++ b/core/modules/system/tests/modules/system_incompatible_php_version_test/system_incompatible_php_version_test.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Support module for testing system dependencies.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
php: 6502
diff --git a/core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml b/core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml
index 12ad6e249f..1dd92d7705 100644
--- a/core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml
+++ b/core/modules/system/tests/modules/system_mail_failure_test/system_mail_failure_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides a malfunctioning mail service for testing purposes.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/system_module_test/system_module_test.info.yml b/core/modules/system/tests/modules/system_module_test/system_module_test.info.yml
index 6b787f5e00..639c0705bb 100644
--- a/core/modules/system/tests/modules/system_module_test/system_module_test.info.yml
+++ b/core/modules/system/tests/modules/system_module_test/system_module_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides hook implementations for testing System module functionality.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/system_project_namespace_test/system_project_namespace_test.info.yml b/core/modules/system/tests/modules/system_project_namespace_test/system_project_namespace_test.info.yml
index bcea14fb78..e168e9f88e 100644
--- a/core/modules/system/tests/modules/system_project_namespace_test/system_project_namespace_test.info.yml
+++ b/core/modules/system/tests/modules/system_project_namespace_test/system_project_namespace_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for testing project namespace system dependencies.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:filter
diff --git a/core/modules/system/tests/modules/system_test/system_test.info.yml b/core/modules/system/tests/modules/system_test/system_test.info.yml
index 7228709457..2943498ffb 100644
--- a/core/modules/system/tests/modules/system_test/system_test.info.yml
+++ b/core/modules/system/tests/modules/system_test/system_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
configure: system_test.configure
configure_parameters:
foo: bar
diff --git a/core/modules/system/tests/modules/system_test/system_test.module b/core/modules/system/tests/modules/system_test/system_test.module
index affc20ea42..e0825d2993 100644
--- a/core/modules/system/tests/modules/system_test/system_test.module
+++ b/core/modules/system/tests/modules/system_test/system_test.module
@@ -62,6 +62,10 @@ function system_test_system_info_alter(&$info, Extension $file, $type) {
}
}
+ if (($core_requirement = \Drupal::state()->get('dependency_test.core_version_requirement')) && $file->getName() === 'common_test') {
+ $info['core'] = $core_requirement;
+ }
+
// Make the system_dependencies_test visible by default.
if ($file->getName() == 'system_dependencies_test') {
$info['hidden'] = FALSE;
@@ -71,6 +75,7 @@ function system_test_system_info_alter(&$info, Extension $file, $type) {
'system_incompatible_core_version_dependencies_test',
'system_incompatible_module_version_test',
'system_incompatible_core_version_test',
+ 'system_incompatible_core_version_test_9x',
])) {
$info['hidden'] = FALSE;
}
diff --git a/core/modules/system/tests/modules/tabledrag_test/tabledrag_test.info.yml b/core/modules/system/tests/modules/tabledrag_test/tabledrag_test.info.yml
index 98d6bb4b96..fa8ca5b54f 100644
--- a/core/modules/system/tests/modules/tabledrag_test/tabledrag_test.info.yml
+++ b/core/modules/system/tests/modules/tabledrag_test/tabledrag_test.info.yml
@@ -1,6 +1,6 @@
type: module
name: 'TableDrag test'
description: 'Draggable table test module.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/test_batch_test/test_batch_test.info.yml b/core/modules/system/tests/modules/test_batch_test/test_batch_test.info.yml
index bc4a3eef22..fbd90e5190 100644
--- a/core/modules/system/tests/modules/test_batch_test/test_batch_test.info.yml
+++ b/core/modules/system/tests/modules/test_batch_test/test_batch_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Support module for functional tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:entity_test
diff --git a/core/modules/system/tests/modules/test_page_test/test_page_test.info.yml b/core/modules/system/tests/modules/test_page_test/test_page_test.info.yml
index f01c597172..71c6152b77 100644
--- a/core/modules/system/tests/modules/test_page_test/test_page_test.info.yml
+++ b/core/modules/system/tests/modules/test_page_test/test_page_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides a test page for automated tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/theme_page_test/theme_page_test.info.yml b/core/modules/system/tests/modules/theme_page_test/theme_page_test.info.yml
index da50bb11e8..8ef8b57585 100644
--- a/core/modules/system/tests/modules/theme_page_test/theme_page_test.info.yml
+++ b/core/modules/system/tests/modules/theme_page_test/theme_page_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for theme system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/theme_region_test/theme_region_test.info.yml b/core/modules/system/tests/modules/theme_region_test/theme_region_test.info.yml
index 0cf5fe3139..387784063b 100644
--- a/core/modules/system/tests/modules/theme_region_test/theme_region_test.info.yml
+++ b/core/modules/system/tests/modules/theme_region_test/theme_region_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Provides hook implementations for testing regions.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.info.yml b/core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.info.yml
index fe61d0d91d..fbe5e4dbfe 100644
--- a/core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.info.yml
+++ b/core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing theme suggestions.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/theme_test/theme_test.info.yml b/core/modules/system/tests/modules/theme_test/theme_test.info.yml
index 0fe8c1019d..8b93ef21ca 100644
--- a/core/modules/system/tests/modules/theme_test/theme_test.info.yml
+++ b/core/modules/system/tests/modules/theme_test/theme_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for theme system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/token_test/token_test.info.yml b/core/modules/system/tests/modules/token_test/token_test.info.yml
index 8f3bc473fd..dd8f2055f3 100644
--- a/core/modules/system/tests/modules/token_test/token_test.info.yml
+++ b/core/modules/system/tests/modules/token_test/token_test.info.yml
@@ -1,6 +1,6 @@
name: Token test
type: module
-core: 8.x
+core: ~8
package: Testing
version: VERSION
dependencies:
diff --git a/core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml b/core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
index 20f41bcb84..8a125d5fd2 100644
--- a/core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
+++ b/core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
@@ -1,5 +1,5 @@
type: module
name: 'Trusted hosts test module'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml b/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml
index 5aee1e2695..7bd6718002 100644
--- a/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml
+++ b/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing Twig extensions.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml b/core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml
index cf04aaeae3..aea05509ec 100644
--- a/core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml
+++ b/core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing adding Twig loaders.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml b/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml
index 7584b57cda..40f98f4cc3 100644
--- a/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml
+++ b/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Twig namespace testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml b/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml
index 7584b57cda..40f98f4cc3 100644
--- a/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml
+++ b/core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Twig namespace testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
index 751531592d..6172881ae1 100644
--- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
+++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for Twig theme system testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml b/core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml
index a667c6217d..a74fb367c7 100644
--- a/core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml
+++ b/core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for UniqueField Constraint testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_script_test/update_script_test.info.yml b/core/modules/system/tests/modules/update_script_test/update_script_test.info.yml
index b582c1ab83..2173e6d435 100644
--- a/core/modules/system/tests/modules/update_script_test/update_script_test.info.yml
+++ b/core/modules/system/tests/modules/update_script_test/update_script_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update script testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_0/update_test_0.info.yml b/core/modules/system/tests/modules/update_test_0/update_test_0.info.yml
index 4162fd02c9..039aef0873 100644
--- a/core/modules/system/tests/modules/update_test_0/update_test_0.info.yml
+++ b/core/modules/system/tests/modules/update_test_0/update_test_0.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_1/update_test_1.info.yml b/core/modules/system/tests/modules/update_test_1/update_test_1.info.yml
index 5a7e2e1fa8..9449f653d5 100644
--- a/core/modules/system/tests/modules/update_test_1/update_test_1.info.yml
+++ b/core/modules/system/tests/modules/update_test_1/update_test_1.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_2/update_test_2.info.yml b/core/modules/system/tests/modules/update_test_2/update_test_2.info.yml
index 5a7e2e1fa8..9449f653d5 100644
--- a/core/modules/system/tests/modules/update_test_2/update_test_2.info.yml
+++ b/core/modules/system/tests/modules/update_test_2/update_test_2.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_3/update_test_3.info.yml b/core/modules/system/tests/modules/update_test_3/update_test_3.info.yml
index 5a7e2e1fa8..9449f653d5 100644
--- a/core/modules/system/tests/modules/update_test_3/update_test_3.info.yml
+++ b/core/modules/system/tests/modules/update_test_3/update_test_3.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_failing/update_test_failing.info.yml b/core/modules/system/tests/modules/update_test_failing/update_test_failing.info.yml
index f6841f32d9..f538b9c028 100644
--- a/core/modules/system/tests/modules/update_test_failing/update_test_failing.info.yml
+++ b/core/modules/system/tests/modules/update_test_failing/update_test_failing.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing when an update hook is failing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml b/core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml
index b9aefba42f..0bcd23494d 100644
--- a/core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml
+++ b/core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.info.yml b/core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.info.yml
index f2445dd455..2f2b3d98d7 100644
--- a/core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.info.yml
+++ b/core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.info.yml
@@ -1,4 +1,4 @@
-core: 8.x
+core: ~8
name: Update test after
type: module
package: Testing
diff --git a/core/modules/system/tests/modules/update_test_schema/update_test_schema.info.yml b/core/modules/system/tests/modules/update_test_schema/update_test_schema.info.yml
index 620fb92b22..fd54efaa63 100644
--- a/core/modules/system/tests/modules/update_test_schema/update_test_schema.info.yml
+++ b/core/modules/system/tests/modules/update_test_schema/update_test_schema.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.info.yml b/core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.info.yml
index 2b47a04904..ed345c0140 100644
--- a/core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.info.yml
+++ b/core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml b/core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml
index 95aba30857..af273d2575 100644
--- a/core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml
+++ b/core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml
@@ -1,6 +1,6 @@
name: 'Url_alter tests'
type: module
description: 'A support module to test altering the inbound and outbound path.'
-core: 8.x
+core: ~8
package: Testing
version: VERSION
diff --git a/core/modules/system/tests/src/Functional/Module/DependencyTest.php b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
index 2e0e60923c..d5b0a78ee8 100644
--- a/core/modules/system/tests/src/Functional/Module/DependencyTest.php
+++ b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
@@ -102,6 +102,48 @@ public function testIncompatiblePhpVersionDependency() {
$this->assert(count($checkbox) == 1, 'Checkbox for the module is disabled.');
}
+ /**
+ * Tests enabling modules with different core version specifications.
+ */
+ public function testCoreVersionDependency() {
+ $assert_session = $this->assertSession();
+ list($major, $minor) = explode('.', \Drupal::VERSION);
+
+ $next_minor = $minor + 1;
+ $next_major = $major + 1;
+
+ // Test the next minor release.
+ \Drupal::state()->set('dependency_test.core_version_requirement', "~$major.$next_minor");
+ $this->drupalGet('admin/modules');
+ $assert_session->fieldDisabled('modules[system_incompatible_core_version_test_9x][enable]');
+ $assert_session->fieldDisabled('modules[common_test][enable]');
+
+ // Test either current major or the next one.
+ \Drupal::state()->set('dependency_test.core_version_requirement', "^$major || ^$next_major");
+ $this->drupalGet('admin/modules');
+ $this->assertFalse($assert_session->elementExists('css', '[name="modules[common_test][enable]"]')->hasAttribute('disabled'));
+
+ // Test either a previous major or the next one.
+ \Drupal::state()->set('dependency_test.core_version_requirement', "^1 || ^$next_major");
+ $this->drupalGet('admin/modules');
+ $assert_session->fieldDisabled('modules[common_test][enable]');
+
+ // Test an invalid major.
+ \Drupal::state()->set('dependency_test.core_version_requirement', 'this-string-is-invalid');
+ $this->drupalGet('admin/modules');
+ $assert_session->fieldDisabled('modules[common_test][enable]');
+
+ // Test the current minor.
+ \Drupal::state()->set('dependency_test.core_version_requirement', "~$major.$minor");
+ $this->drupalGet('admin/modules');
+ $this->assertFalse($assert_session->elementExists('css', '[name="modules[common_test][enable]"]')->hasAttribute('disabled'));
+
+ // Ensure the module can actually be installed.
+ $edit['modules[common_test][enable]'] = 'common_test';
+ $this->drupalPostForm('admin/modules', $edit, t('Install'));
+ $this->assertModules(['common_test'], TRUE);
+ }
+
/**
* Tests enabling a module that depends on a module which fails hook_requirements().
*/
diff --git a/core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.info.yml b/core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.info.yml
index 342191c6e2..ec17976a3c 100644
--- a/core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.info.yml
+++ b/core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.info.yml
@@ -1,5 +1,5 @@
type: theme_engine
name: Nyan cat
-core: 8.x
+core: ~8
version: VERSION
package: Core
diff --git a/core/modules/system/tests/themes/test_basetheme/test_basetheme.info.yml b/core/modules/system/tests/themes/test_basetheme/test_basetheme.info.yml
index 3efb45f3d6..f1c2fa4a49 100644
--- a/core/modules/system/tests/themes/test_basetheme/test_basetheme.info.yml
+++ b/core/modules/system/tests/themes/test_basetheme/test_basetheme.info.yml
@@ -2,7 +2,7 @@ name: 'Theme test base theme'
type: theme
description: 'Test theme which acts as a base theme for other test subthemes.'
version: VERSION
-core: 8.x
+core: ~8
base theme: false
hidden: true
diff --git a/core/modules/system/tests/themes/test_ckeditor_stylesheets_external/test_ckeditor_stylesheets_external.info.yml b/core/modules/system/tests/themes/test_ckeditor_stylesheets_external/test_ckeditor_stylesheets_external.info.yml
index 77b8429bfb..27b63bc015 100644
--- a/core/modules/system/tests/themes/test_ckeditor_stylesheets_external/test_ckeditor_stylesheets_external.info.yml
+++ b/core/modules/system/tests/themes/test_ckeditor_stylesheets_external/test_ckeditor_stylesheets_external.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'A theme that uses an external CKEditor stylesheet.'
version: VERSION
base theme: false
-core: 8.x
+core: ~8
ckeditor_stylesheets:
- https://fonts.googleapis.com/css?family=Open+Sans
diff --git a/core/modules/system/tests/themes/test_ckeditor_stylesheets_protocol_relative/test_ckeditor_stylesheets_protocol_relative.info.yml b/core/modules/system/tests/themes/test_ckeditor_stylesheets_protocol_relative/test_ckeditor_stylesheets_protocol_relative.info.yml
index 62e1336a01..ab0b1d77ba 100644
--- a/core/modules/system/tests/themes/test_ckeditor_stylesheets_protocol_relative/test_ckeditor_stylesheets_protocol_relative.info.yml
+++ b/core/modules/system/tests/themes/test_ckeditor_stylesheets_protocol_relative/test_ckeditor_stylesheets_protocol_relative.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'A theme that uses a protocol-relative CKEditor stylesheet.'
version: VERSION
base theme: false
-core: 8.x
+core: ~8
ckeditor_stylesheets:
- //fonts.googleapis.com/css?family=Open+Sans
diff --git a/core/modules/system/tests/themes/test_ckeditor_stylesheets_relative/test_ckeditor_stylesheets_relative.info.yml b/core/modules/system/tests/themes/test_ckeditor_stylesheets_relative/test_ckeditor_stylesheets_relative.info.yml
index 1e62874677..9f51242d68 100644
--- a/core/modules/system/tests/themes/test_ckeditor_stylesheets_relative/test_ckeditor_stylesheets_relative.info.yml
+++ b/core/modules/system/tests/themes/test_ckeditor_stylesheets_relative/test_ckeditor_stylesheets_relative.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'A theme that uses a relative CKEditor stylesheet.'
version: VERSION
base theme: false
-core: 8.x
+core: ~8
ckeditor_stylesheets:
- css/yokotsoko.css
diff --git a/core/modules/system/tests/themes/test_invalid_basetheme/test_invalid_basetheme.info.yml b/core/modules/system/tests/themes/test_invalid_basetheme/test_invalid_basetheme.info.yml
index ab0b49ed0f..985cd63f14 100644
--- a/core/modules/system/tests/themes/test_invalid_basetheme/test_invalid_basetheme.info.yml
+++ b/core/modules/system/tests/themes/test_invalid_basetheme/test_invalid_basetheme.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test with invalid base theme'
type: theme
description: 'Test theme which has a non-existent base theme.'
version: VERSION
-core: 8.x
+core: ~8
base theme: not_real_test_basetheme
diff --git a/core/modules/system/tests/themes/test_invalid_basetheme_sub/test_invalid_basetheme_sub.info.yml b/core/modules/system/tests/themes/test_invalid_basetheme_sub/test_invalid_basetheme_sub.info.yml
index 7b00c1b16f..bea172ef8b 100644
--- a/core/modules/system/tests/themes/test_invalid_basetheme_sub/test_invalid_basetheme_sub.info.yml
+++ b/core/modules/system/tests/themes/test_invalid_basetheme_sub/test_invalid_basetheme_sub.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test with valid base theme but no grandparent base theme'
type: theme
description: 'Test theme which has a non-existent base theme in the base chain.'
version: VERSION
-core: 8.x
+core: ~8
base theme: test_invalid_basetheme
diff --git a/core/modules/system/tests/themes/test_invalid_engine/test_invalid_engine.info.yml b/core/modules/system/tests/themes/test_invalid_engine/test_invalid_engine.info.yml
index 92410bfe23..2739bddb57 100644
--- a/core/modules/system/tests/themes/test_invalid_engine/test_invalid_engine.info.yml
+++ b/core/modules/system/tests/themes/test_invalid_engine/test_invalid_engine.info.yml
@@ -2,6 +2,6 @@ name: 'Theme test with invalid theme engine'
type: theme
description: 'Test theme which has a non-existent theme engine.'
version: VERSION
-core: 8.x
+core: ~8
engine: not_real_engine
base theme: false
diff --git a/core/modules/system/tests/themes/test_invalid_region/test_invalid_region.info.yml b/core/modules/system/tests/themes/test_invalid_region/test_invalid_region.info.yml
index 6fef32a21d..a06bdfadb2 100644
--- a/core/modules/system/tests/themes/test_invalid_region/test_invalid_region.info.yml
+++ b/core/modules/system/tests/themes/test_invalid_region/test_invalid_region.info.yml
@@ -2,7 +2,7 @@ name: 'Theme test with missing content region'
type: theme
description: 'Test theme which has a non-existent content region.'
version: VERSION
-core: 8.x
+core: ~8
regions:
- foo: Foo
diff --git a/core/modules/system/tests/themes/test_messages/test_messages.info.yml b/core/modules/system/tests/themes/test_messages/test_messages.info.yml
index ea88438d98..a2bec2c442 100644
--- a/core/modules/system/tests/themes/test_messages/test_messages.info.yml
+++ b/core/modules/system/tests/themes/test_messages/test_messages.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test messages'
type: theme
description: 'Test theme which provides another div for messages.'
version: VERSION
-core: 8.x
+core: ~8
base theme: classy
diff --git a/core/modules/system/tests/themes/test_stable/test_stable.info.yml b/core/modules/system/tests/themes/test_stable/test_stable.info.yml
index 52f3fd1392..7180b8a1b3 100644
--- a/core/modules/system/tests/themes/test_stable/test_stable.info.yml
+++ b/core/modules/system/tests/themes/test_stable/test_stable.info.yml
@@ -2,4 +2,4 @@ name: Test Stable
type: theme
description: A theme to test that stable is set as the default.
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/themes/test_subseven/test_subseven.info.yml b/core/modules/system/tests/themes/test_subseven/test_subseven.info.yml
index df9ad9c16d..b98e845ef7 100644
--- a/core/modules/system/tests/themes/test_subseven/test_subseven.info.yml
+++ b/core/modules/system/tests/themes/test_subseven/test_subseven.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test subseven'
type: theme
description: 'Test theme which uses seven as the base theme.'
version: VERSION
-core: 8.x
+core: ~8
base theme: seven
diff --git a/core/modules/system/tests/themes/test_subsubtheme/test_subsubtheme.info.yml b/core/modules/system/tests/themes/test_subsubtheme/test_subsubtheme.info.yml
index 7bf373a25a..effb807219 100644
--- a/core/modules/system/tests/themes/test_subsubtheme/test_subsubtheme.info.yml
+++ b/core/modules/system/tests/themes/test_subsubtheme/test_subsubtheme.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test subsubtheme'
type: theme
description: 'Test theme which uses test_subtheme as the base theme.'
version: VERSION
-core: 8.x
+core: ~8
base theme: test_subtheme
diff --git a/core/modules/system/tests/themes/test_subtheme/test_subtheme.info.yml b/core/modules/system/tests/themes/test_subtheme/test_subtheme.info.yml
index b217374234..ee987f51d7 100644
--- a/core/modules/system/tests/themes/test_subtheme/test_subtheme.info.yml
+++ b/core/modules/system/tests/themes/test_subtheme/test_subtheme.info.yml
@@ -2,7 +2,7 @@ name: 'Theme test subtheme'
type: theme
description: 'Test theme which uses test_basetheme as the base theme.'
version: VERSION
-core: 8.x
+core: ~8
base theme: test_basetheme
libraries:
- test_subtheme/global-styling
diff --git a/core/modules/system/tests/themes/test_theme/test_theme.info.yml b/core/modules/system/tests/themes/test_theme/test_theme.info.yml
index b9660a45f5..d64cea76f9 100644
--- a/core/modules/system/tests/themes/test_theme/test_theme.info.yml
+++ b/core/modules/system/tests/themes/test_theme/test_theme.info.yml
@@ -13,7 +13,7 @@ type: theme
description: 'Theme for testing the theme system'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
logo: images/logo2.svg
stylesheets-remove:
- '@stable/css/system/components/js.module.css'
diff --git a/core/modules/system/tests/themes/test_theme_having_veery_long_name_which_is_too_long/test_theme_having_veery_long_name_which_is_too_long.info.yml b/core/modules/system/tests/themes/test_theme_having_veery_long_name_which_is_too_long/test_theme_having_veery_long_name_which_is_too_long.info.yml
index 46432b4f56..395e8d1b99 100644
--- a/core/modules/system/tests/themes/test_theme_having_veery_long_name_which_is_too_long/test_theme_having_veery_long_name_which_is_too_long.info.yml
+++ b/core/modules/system/tests/themes/test_theme_having_veery_long_name_which_is_too_long/test_theme_having_veery_long_name_which_is_too_long.info.yml
@@ -1,4 +1,4 @@
type: theme
-core: 8.x
+core: ~8
name: 'Test theme with a too long name'
version: VERSION
diff --git a/core/modules/system/tests/themes/test_theme_libraries_empty/test_theme_libraries_empty.info.yml b/core/modules/system/tests/themes/test_theme_libraries_empty/test_theme_libraries_empty.info.yml
index d3853b14e2..f14bff7614 100644
--- a/core/modules/system/tests/themes/test_theme_libraries_empty/test_theme_libraries_empty.info.yml
+++ b/core/modules/system/tests/themes/test_theme_libraries_empty/test_theme_libraries_empty.info.yml
@@ -3,5 +3,5 @@ type: theme
description: 'Test theme with empty libraries in theme.info.yml'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
libraries:
diff --git a/core/modules/system/tests/themes/test_theme_libraries_extend/test_theme_libraries_extend.info.yml b/core/modules/system/tests/themes/test_theme_libraries_extend/test_theme_libraries_extend.info.yml
index 597a5b038c..8b822b6a2a 100644
--- a/core/modules/system/tests/themes/test_theme_libraries_extend/test_theme_libraries_extend.info.yml
+++ b/core/modules/system/tests/themes/test_theme_libraries_extend/test_theme_libraries_extend.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'Test Theme with libraries-extend'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
libraries-extend:
classy/book-navigation:
- test_theme_libraries_extend/extend_one
diff --git a/core/modules/system/tests/themes/test_theme_libraries_override_with_drupal_settings/test_theme_libraries_override_with_drupal_settings.info.yml b/core/modules/system/tests/themes/test_theme_libraries_override_with_drupal_settings/test_theme_libraries_override_with_drupal_settings.info.yml
index f55f6d0808..aaac59a718 100644
--- a/core/modules/system/tests/themes/test_theme_libraries_override_with_drupal_settings/test_theme_libraries_override_with_drupal_settings.info.yml
+++ b/core/modules/system/tests/themes/test_theme_libraries_override_with_drupal_settings/test_theme_libraries_override_with_drupal_settings.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'Theme with drupalSettings libraries-override'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
libraries-override:
# drupalSettings libraries override. Should throw a
# \Drupal\Core\Asset\Exception\InvalidLibrariesOverrideSpecificationException.
diff --git a/core/modules/system/tests/themes/test_theme_libraries_override_with_invalid_asset/test_theme_libraries_override_with_invalid_asset.info.yml b/core/modules/system/tests/themes/test_theme_libraries_override_with_invalid_asset/test_theme_libraries_override_with_invalid_asset.info.yml
index f31ade0b64..ddb5d7025a 100644
--- a/core/modules/system/tests/themes/test_theme_libraries_override_with_invalid_asset/test_theme_libraries_override_with_invalid_asset.info.yml
+++ b/core/modules/system/tests/themes/test_theme_libraries_override_with_invalid_asset/test_theme_libraries_override_with_invalid_asset.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'Theme with invalid libraries-override asset spec.'
version: VERSION
base theme: classy
-core: 8.x
+core: ~8
libraries-override:
# A malformed library asset name. Should throw a
# \Drupal\Core\Asset\Exception\InvalidLibrariesOverrideSpecificationException.
diff --git a/core/modules/system/tests/themes/test_theme_nyan_cat_engine/test_theme_nyan_cat_engine.info.yml b/core/modules/system/tests/themes/test_theme_nyan_cat_engine/test_theme_nyan_cat_engine.info.yml
index 315581a095..9bf7a05dc1 100644
--- a/core/modules/system/tests/themes/test_theme_nyan_cat_engine/test_theme_nyan_cat_engine.info.yml
+++ b/core/modules/system/tests/themes/test_theme_nyan_cat_engine/test_theme_nyan_cat_engine.info.yml
@@ -2,6 +2,6 @@ name: 'Test theme for Nyan Cat engine'
type: theme
description: 'Theme for testing the theme system with the Nyan Cat theme engine'
version: VERSION
-core: 8.x
+core: ~8
engine: nyan_cat
base theme: false
diff --git a/core/modules/system/tests/themes/test_theme_settings/test_theme_settings.info.yml b/core/modules/system/tests/themes/test_theme_settings/test_theme_settings.info.yml
index 38dd300e71..e73d845a5d 100644
--- a/core/modules/system/tests/themes/test_theme_settings/test_theme_settings.info.yml
+++ b/core/modules/system/tests/themes/test_theme_settings/test_theme_settings.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test theme-settings.php'
type: theme
description: 'Test theme that extends theme settings options via theme-settings.php file'
version: VERSION
-core: 8.x
+core: ~8
base theme: false
diff --git a/core/modules/system/tests/themes/test_theme_settings_features/test_theme_settings_features.info.yml b/core/modules/system/tests/themes/test_theme_settings_features/test_theme_settings_features.info.yml
index 73ed7e5a41..7ecb99f751 100644
--- a/core/modules/system/tests/themes/test_theme_settings_features/test_theme_settings_features.info.yml
+++ b/core/modules/system/tests/themes/test_theme_settings_features/test_theme_settings_features.info.yml
@@ -1,6 +1,6 @@
name: Test features
type: theme
-core: 8.x
+core: ~8
description: 'Test theme to test theme settings with limited features.'
features:
- node_user_picture
diff --git a/core/modules/system/tests/themes/test_theme_theme/test_theme_theme.info.yml b/core/modules/system/tests/themes/test_theme_theme/test_theme_theme.info.yml
index c67a4be2c5..b27dfe629a 100644
--- a/core/modules/system/tests/themes/test_theme_theme/test_theme_theme.info.yml
+++ b/core/modules/system/tests/themes/test_theme_theme/test_theme_theme.info.yml
@@ -2,5 +2,5 @@ name: 'Theme test theme.theme file'
type: theme
description: 'Test theme that extends theme settings options via theme.theme file'
version: VERSION
-core: 8.x
+core: ~8
base theme: false
diff --git a/core/modules/system/tests/themes/test_theme_twig_registry_loader/test_theme_twig_registry_loader.info.yml b/core/modules/system/tests/themes/test_theme_twig_registry_loader/test_theme_twig_registry_loader.info.yml
index 9ee01c5364..e138d1ad9c 100644
--- a/core/modules/system/tests/themes/test_theme_twig_registry_loader/test_theme_twig_registry_loader.info.yml
+++ b/core/modules/system/tests/themes/test_theme_twig_registry_loader/test_theme_twig_registry_loader.info.yml
@@ -2,4 +2,4 @@ name: 'Twig registry loader test'
type: theme
description: 'Support module for Twig registry loader testing.'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/themes/test_theme_twig_registry_loader_subtheme/test_theme_twig_registry_loader_subtheme.info.yml b/core/modules/system/tests/themes/test_theme_twig_registry_loader_subtheme/test_theme_twig_registry_loader_subtheme.info.yml
index 74c3f359aa..d45d48bd1d 100644
--- a/core/modules/system/tests/themes/test_theme_twig_registry_loader_subtheme/test_theme_twig_registry_loader_subtheme.info.yml
+++ b/core/modules/system/tests/themes/test_theme_twig_registry_loader_subtheme/test_theme_twig_registry_loader_subtheme.info.yml
@@ -3,4 +3,4 @@ type: theme
base theme: test_theme_twig_registry_loader_theme
description: 'Support module for Twig registry loader testing.'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/test_theme_twig_registry_loader_theme.info.yml b/core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/test_theme_twig_registry_loader_theme.info.yml
index 64455f5134..30790aae8e 100644
--- a/core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/test_theme_twig_registry_loader_theme.info.yml
+++ b/core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/test_theme_twig_registry_loader_theme.info.yml
@@ -3,4 +3,4 @@ type: theme
base theme: test_theme_twig_registry_loader
description: 'Support module for Twig registry loader testing.'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/system/tests/themes/test_wild_west/test_wild_west.info.yml b/core/modules/system/tests/themes/test_wild_west/test_wild_west.info.yml
index d1fcb829ff..4b832e42eb 100644
--- a/core/modules/system/tests/themes/test_wild_west/test_wild_west.info.yml
+++ b/core/modules/system/tests/themes/test_wild_west/test_wild_west.info.yml
@@ -3,4 +3,4 @@ type: theme
description: A theme that doesn't use Stable as its base. It tests the wild west instead.
version: VERSION
base theme: false
-core: 8.x
+core: ~8
diff --git a/core/modules/taxonomy/taxonomy.info.yml b/core/modules/taxonomy/taxonomy.info.yml
index 8eccaf52f1..321fbb1155 100644
--- a/core/modules/taxonomy/taxonomy.info.yml
+++ b/core/modules/taxonomy/taxonomy.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Enables the categorization of content.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
- drupal:text
diff --git a/core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.info.yml b/core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.info.yml
index dcfeb61945..2bbbfcab4c 100644
--- a/core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.info.yml
+++ b/core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides 3rd party settings for vocabulary.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
diff --git a/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/taxonomy_term_stub_test.info.yml b/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/taxonomy_term_stub_test.info.yml
index e857e9a7f4..edd7be9cc4 100644
--- a/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/taxonomy_term_stub_test.info.yml
+++ b/core/modules/taxonomy/tests/modules/taxonomy_term_stub_test/taxonomy_term_stub_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a migration plugin for stub testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
- drupal:migrate
diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.info.yml b/core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.info.yml
index 0cf7097c74..eb7fef94fa 100644
--- a/core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.info.yml
+++ b/core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides test hook implementations for taxonomy tests'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/taxonomy_test_views.info.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/taxonomy_test_views.info.yml
index 2884108834..9af7b2aef0 100644
--- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/taxonomy_test_views.info.yml
+++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/taxonomy_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views taxonomy tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
- drupal:views
diff --git a/core/modules/taxonomy/tests/modules/vocabulary_serialization_test/vocabulary_serialization_test.info.yml b/core/modules/taxonomy/tests/modules/vocabulary_serialization_test/vocabulary_serialization_test.info.yml
index ef00b57b2c..dd6c342b72 100644
--- a/core/modules/taxonomy/tests/modules/vocabulary_serialization_test/vocabulary_serialization_test.info.yml
+++ b/core/modules/taxonomy/tests/modules/vocabulary_serialization_test/vocabulary_serialization_test.info.yml
@@ -2,6 +2,6 @@ name: 'Vocabulary serialization test'
type: module
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:taxonomy
diff --git a/core/modules/telephone/telephone.info.yml b/core/modules/telephone/telephone.info.yml
index ab44ec0263..a02c0c8263 100644
--- a/core/modules/telephone/telephone.info.yml
+++ b/core/modules/telephone/telephone.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Defines a field type for telephone numbers.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
diff --git a/core/modules/text/text.info.yml b/core/modules/text/text.info.yml
index 5f09ace218..0c6aa87208 100644
--- a/core/modules/text/text.info.yml
+++ b/core/modules/text/text.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Defines simple text field types.'
package: Field types
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:field
- drupal:filter
diff --git a/core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.info.yml b/core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.info.yml
index e97d0ea9d1..3ad95195a1 100644
--- a/core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.info.yml
+++ b/core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing toolbar without user toolbar'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.info.yml b/core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.info.yml
index 98fc607cc5..32b748c793 100644
--- a/core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.info.yml
+++ b/core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for toolbar testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/toolbar/toolbar.info.yml b/core/modules/toolbar/toolbar.info.yml
index d0114930b8..d2d8946b4d 100644
--- a/core/modules/toolbar/toolbar.info.yml
+++ b/core/modules/toolbar/toolbar.info.yml
@@ -1,7 +1,7 @@
name: Toolbar
type: module
description: 'Provides a toolbar that shows the top-level administration menu items and links from other modules.'
-core: 8.x
+core: ~8
package: Core
version: VERSION
dependencies:
diff --git a/core/modules/tour/tests/tour_test/tour_test.info.yml b/core/modules/tour/tests/tour_test/tour_test.info.yml
index a37d5d7a79..8a74088f93 100644
--- a/core/modules/tour/tests/tour_test/tour_test.info.yml
+++ b/core/modules/tour/tests/tour_test/tour_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: Tests module for tour module.
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:tour
diff --git a/core/modules/tour/tour.info.yml b/core/modules/tour/tour.info.yml
index b9131629fb..c2e97282c2 100644
--- a/core/modules/tour/tour.info.yml
+++ b/core/modules/tour/tour.info.yml
@@ -3,4 +3,4 @@ type: module
description: Provides guided tours.
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/tracker/tests/modules/tracker_test_views/tracker_test_views.info.yml b/core/modules/tracker/tests/modules/tracker_test_views/tracker_test_views.info.yml
index 7e9f34fb49..1a881fec58 100644
--- a/core/modules/tracker/tests/modules/tracker_test_views/tracker_test_views.info.yml
+++ b/core/modules/tracker/tests/modules/tracker_test_views/tracker_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views tracker tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:tracker
- drupal:views
diff --git a/core/modules/tracker/tracker.info.yml b/core/modules/tracker/tracker.info.yml
index d855210676..233cd4bc43 100644
--- a/core/modules/tracker/tracker.info.yml
+++ b/core/modules/tracker/tracker.info.yml
@@ -6,4 +6,4 @@ dependencies:
- drupal:comment
package: Core
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml b/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
index c424e74f7a..8bacde2e21 100644
--- a/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
+++ b/core/modules/update/tests/modules/aaa_update_test/aaa_update_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml b/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
index 0c2226bcc3..701742d93a 100644
--- a/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
+++ b/core/modules/update/tests/modules/bbb_update_test/bbb_update_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml b/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
index 6fcd4ec226..1b760b385c 100644
--- a/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
+++ b/core/modules/update/tests/modules/ccc_update_test/ccc_update_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/modules/update_test/update_test.info.yml b/core/modules/update/tests/modules/update_test/update_test.info.yml
index 053aafcfe0..00ddaf7652 100644
--- a/core/modules/update/tests/modules/update_test/update_test.info.yml
+++ b/core/modules/update/tests/modules/update_test/update_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for update module testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml b/core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml
index 9162147909..5eb91dde8c 100644
--- a/core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml
+++ b/core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml
@@ -2,4 +2,4 @@ name: 'Update test base theme'
type: theme
description: 'Test theme which acts as a base theme for other test subthemes.'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml b/core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml
index 0921cc79f8..668098ed94 100644
--- a/core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml
+++ b/core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml
@@ -2,5 +2,5 @@ name: 'Update test subtheme'
type: theme
description: 'Test theme which uses update_test_basetheme as the base theme.'
version: VERSION
-core: 8.x
+core: ~8
base theme: update_test_basetheme
diff --git a/core/modules/update/update.info.yml b/core/modules/update/update.info.yml
index b4536011d2..b348a05cd2 100644
--- a/core/modules/update/update.info.yml
+++ b/core/modules/update/update.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Checks for available updates, and can securely install or update modules and themes via a web interface.'
version: VERSION
package: Core
-core: 8.x
+core: ~8
configure: update.settings
dependencies:
- drupal:file
diff --git a/core/modules/user/tests/modules/user_access_test/user_access_test.info.yml b/core/modules/user/tests/modules/user_access_test/user_access_test.info.yml
index 5b1396332c..4a599be98e 100644
--- a/core/modules/user/tests/modules/user_access_test/user_access_test.info.yml
+++ b/core/modules/user/tests/modules/user_access_test/user_access_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for user access testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/user/tests/modules/user_custom_phpass_params_test/user_custom_phpass_params_test.info.yml b/core/modules/user/tests/modules/user_custom_phpass_params_test/user_custom_phpass_params_test.info.yml
index 68b8ff9a3c..33a61c2d36 100644
--- a/core/modules/user/tests/modules/user_custom_phpass_params_test/user_custom_phpass_params_test.info.yml
+++ b/core/modules/user/tests/modules/user_custom_phpass_params_test/user_custom_phpass_params_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing custom phpass password algorithm parameters.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/user/tests/modules/user_form_test/user_form_test.info.yml b/core/modules/user/tests/modules/user_form_test/user_form_test.info.yml
index e77ebf28cb..0a29dff202 100644
--- a/core/modules/user/tests/modules/user_form_test/user_form_test.info.yml
+++ b/core/modules/user/tests/modules/user_form_test/user_form_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for user form testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml b/core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml
index 2e56f1736d..818ba8bed9 100644
--- a/core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml
+++ b/core/modules/user/tests/modules/user_hooks_test/user_hooks_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for user hooks testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/user/tests/modules/user_test_views/user_test_views.info.yml b/core/modules/user/tests/modules/user_test_views/user_test_views.info.yml
index b89ea6c0aa..aed1b2bfe8 100644
--- a/core/modules/user/tests/modules/user_test_views/user_test_views.info.yml
+++ b/core/modules/user/tests/modules/user_test_views/user_test_views.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides default views for views user tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:user
- drupal:views
diff --git a/core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml b/core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml
index 79a62e8310..ee11da10d4 100644
--- a/core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml
+++ b/core/modules/user/tests/themes/user_test_theme/user_test_theme.info.yml
@@ -2,4 +2,4 @@ name: 'User Test theme'
type: theme
description: 'Theme for testing the available fields in user twig template'
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/user/user.info.yml b/core/modules/user/user.info.yml
index 86faf68a68..9afd781c98 100644
--- a/core/modules/user/user.info.yml
+++ b/core/modules/user/user.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Manages the user registration and login system.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
required: true
configure: user.admin_index
dependencies:
diff --git a/core/modules/views/tests/modules/action_bulk_test/action_bulk_test.info.yml b/core/modules/views/tests/modules/action_bulk_test/action_bulk_test.info.yml
index e80c7504f0..0dc42d0d58 100644
--- a/core/modules/views/tests/modules/action_bulk_test/action_bulk_test.info.yml
+++ b/core/modules/views/tests/modules/action_bulk_test/action_bulk_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for action bulk form testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
- drupal:node
diff --git a/core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml b/core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml
index 931dfc2b6c..8f099f3564 100644
--- a/core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml
+++ b/core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Support module for user batch action testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- views
- user
diff --git a/core/modules/views/tests/modules/views_entity_test/views_entity_test.info.yml b/core/modules/views/tests/modules/views_entity_test/views_entity_test.info.yml
index dfa9747d02..6fecf7b1a6 100644
--- a/core/modules/views/tests/modules/views_entity_test/views_entity_test.info.yml
+++ b/core/modules/views/tests/modules/views_entity_test/views_entity_test.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides base fields for views tests of entity_test entity type.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
- drupal:entity_test
diff --git a/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/views_test_cacheable_metadata_calculation.info.yml b/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/views_test_cacheable_metadata_calculation.info.yml
index e8c1664b91..4e2cb1a6e7 100644
--- a/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/views_test_cacheable_metadata_calculation.info.yml
+++ b/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/views_test_cacheable_metadata_calculation.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Module to test cacheable metadata calculation in Views.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/views/tests/modules/views_test_config/views_test_config.info.yml b/core/modules/views/tests/modules/views_test_config/views_test_config.info.yml
index 36a09f3743..508f8cf328 100644
--- a/core/modules/views/tests/modules/views_test_config/views_test_config.info.yml
+++ b/core/modules/views/tests/modules/views_test_config/views_test_config.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides default views for tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/views/tests/modules/views_test_data/views_test_data.info.yml b/core/modules/views/tests/modules/views_test_data/views_test_data.info.yml
index 6a18bb0703..b41bd5437f 100644
--- a/core/modules/views/tests/modules/views_test_data/views_test_data.info.yml
+++ b/core/modules/views/tests/modules/views_test_data/views_test_data.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Test module for Views.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/views/tests/modules/views_test_formatter/views_test_formatter.info.yml b/core/modules/views/tests/modules/views_test_formatter/views_test_formatter.info.yml
index 16d3a4b0c0..5600a98eb0 100644
--- a/core/modules/views/tests/modules/views_test_formatter/views_test_formatter.info.yml
+++ b/core/modules/views/tests/modules/views_test_formatter/views_test_formatter.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides test field formatters.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
diff --git a/core/modules/views/tests/modules/views_test_language/views_test_language.info.yml b/core/modules/views/tests/modules/views_test_language/views_test_language.info.yml
index ced53bd129..d4e5ac7ccc 100644
--- a/core/modules/views/tests/modules/views_test_language/views_test_language.info.yml
+++ b/core/modules/views/tests/modules/views_test_language/views_test_language.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Test module for Views.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views
- drupal:language
diff --git a/core/modules/views/tests/modules/views_test_modal/views_test_modal.info.yml b/core/modules/views/tests/modules/views_test_modal/views_test_modal.info.yml
index 59be6d4e51..9246d132b7 100644
--- a/core/modules/views/tests/modules/views_test_modal/views_test_modal.info.yml
+++ b/core/modules/views/tests/modules/views_test_modal/views_test_modal.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Provides a test page that renders a View in a modal.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:node
- drupal:views
diff --git a/core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.info.yml b/core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.info.yml
index 50bf73ef44..30f15db3ca 100644
--- a/core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.info.yml
+++ b/core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.info.yml
@@ -2,4 +2,4 @@ name: Views test checkboxes theme
type: theme
description: Theme for testing Views rendering of checkboxes.
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/views/tests/themes/views_test_theme/views_test_theme.info.yml b/core/modules/views/tests/themes/views_test_theme/views_test_theme.info.yml
index b32f40ab04..2e62e5c0e0 100644
--- a/core/modules/views/tests/themes/views_test_theme/views_test_theme.info.yml
+++ b/core/modules/views/tests/themes/views_test_theme/views_test_theme.info.yml
@@ -2,4 +2,4 @@ name: Views test theme
type: theme
description: Theme for testing Views functionality.
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/modules/views/views.info.yml b/core/modules/views/views.info.yml
index e0a2154f57..5ba50236e3 100644
--- a/core/modules/views/views.info.yml
+++ b/core/modules/views/views.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Create customized lists and queries from your database.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:filter
diff --git a/core/modules/views_ui/tests/modules/views_ui_test/views_ui_test.info.yml b/core/modules/views_ui/tests/modules/views_ui_test/views_ui_test.info.yml
index fdc05c570c..a7a69815e8 100644
--- a/core/modules/views_ui/tests/modules/views_ui_test/views_ui_test.info.yml
+++ b/core/modules/views_ui/tests/modules/views_ui_test/views_ui_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Test module for Views UI.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views_ui
diff --git a/core/modules/views_ui/tests/modules/views_ui_test_field/views_ui_test_field.info.yml b/core/modules/views_ui/tests/modules/views_ui_test_field/views_ui_test_field.info.yml
index b1f932490b..cb49f34f7e 100644
--- a/core/modules/views_ui/tests/modules/views_ui_test_field/views_ui_test_field.info.yml
+++ b/core/modules/views_ui/tests/modules/views_ui_test_field/views_ui_test_field.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Add custom global field for testing purposes.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:views_ui
diff --git a/core/modules/views_ui/views_ui.info.yml b/core/modules/views_ui/views_ui.info.yml
index b79eec4a18..40c8bb151f 100644
--- a/core/modules/views_ui/views_ui.info.yml
+++ b/core/modules/views_ui/views_ui.info.yml
@@ -3,7 +3,7 @@ type: module
description: 'Administrative interface for Views.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
configure: entity.view.collection
dependencies:
- drupal:views
diff --git a/core/modules/workflows/tests/modules/workflow_third_party_settings_test/workflow_third_party_settings_test.info.yml b/core/modules/workflows/tests/modules/workflow_third_party_settings_test/workflow_third_party_settings_test.info.yml
index d3c8d70854..ae93bcca83 100644
--- a/core/modules/workflows/tests/modules/workflow_third_party_settings_test/workflow_third_party_settings_test.info.yml
+++ b/core/modules/workflows/tests/modules/workflow_third_party_settings_test/workflow_third_party_settings_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Allows third party settings on workflows to be tested.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:workflows
diff --git a/core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.info.yml b/core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.info.yml
index a6ce6e8778..2900038541 100644
--- a/core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.info.yml
+++ b/core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.info.yml
@@ -3,6 +3,6 @@ type: module
description: 'Provides a workflow type plugin for testing.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
dependencies:
- drupal:workflows
diff --git a/core/modules/workflows/workflows.info.yml b/core/modules/workflows/workflows.info.yml
index 70370bc57c..4cd219aa99 100644
--- a/core/modules/workflows/workflows.info.yml
+++ b/core/modules/workflows/workflows.info.yml
@@ -2,6 +2,6 @@ name: 'Workflows'
type: module
description: 'Provides an interface to create workflows with transitions between different states (for example publication or user status) provided by other modules.'
version: VERSION
-core: 8.x
+core: ~8
package: Core
configure: entity.workflow.collection
diff --git a/core/modules/workspaces/workspaces.info.yml b/core/modules/workspaces/workspaces.info.yml
index ebfa2f059d..dc0de6eaaf 100644
--- a/core/modules/workspaces/workspaces.info.yml
+++ b/core/modules/workspaces/workspaces.info.yml
@@ -2,7 +2,7 @@ name: Workspaces
type: module
description: 'Allows users to stage content or preview a full site by using multiple workspaces on a single site.'
version: VERSION
-core: 8.x
+core: ~8
package: Core (Experimental)
configure: entity.workspace.collection
dependencies:
diff --git a/core/profiles/demo_umami/demo_umami.info.yml b/core/profiles/demo_umami/demo_umami.info.yml
index c2efc4464e..ebf38ffe4f 100644
--- a/core/profiles/demo_umami/demo_umami.info.yml
+++ b/core/profiles/demo_umami/demo_umami.info.yml
@@ -2,7 +2,7 @@ name: 'Demo: Umami Food Magazine (Experimental)'
type: profile
description: 'Install an example site that shows off some of Drupal’s capabilities.'
version: VERSION
-core: 8.x
+core: ~8
install:
- node
- history
diff --git a/core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml b/core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml
index cbcba264c3..894ca1b8fc 100644
--- a/core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml
+++ b/core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.info.yml
@@ -2,7 +2,7 @@ name: 'Umami demo: Content'
description: Imports the content for the Umami demo.
type: module
version: VERSION
-core: 8.x
+core: ~8
package: 'Core (Experimental)'
hidden: true
dependencies:
diff --git a/core/profiles/demo_umami/themes/umami/umami.info.yml b/core/profiles/demo_umami/themes/umami/umami.info.yml
index b3ae46e022..3f1b7e006c 100644
--- a/core/profiles/demo_umami/themes/umami/umami.info.yml
+++ b/core/profiles/demo_umami/themes/umami/umami.info.yml
@@ -3,7 +3,7 @@ type: theme
base theme: classy
description: 'The theme used for the Umami food magazine demonstration site.'
version: VERSION
-core: 8.x
+core: ~8
libraries:
- umami/global
- umami/messages
diff --git a/core/profiles/minimal/minimal.info.yml b/core/profiles/minimal/minimal.info.yml
index b0ec74eff7..2dfef081d4 100644
--- a/core/profiles/minimal/minimal.info.yml
+++ b/core/profiles/minimal/minimal.info.yml
@@ -2,7 +2,7 @@ name: Minimal
type: profile
description: 'Build a custom site without pre-configured functionality. Suitable for advanced users.'
version: VERSION
-core: 8.x
+core: ~8
install:
- node
- block
diff --git a/core/profiles/standard/standard.info.yml b/core/profiles/standard/standard.info.yml
index b4730ba458..831e3fb687 100644
--- a/core/profiles/standard/standard.info.yml
+++ b/core/profiles/standard/standard.info.yml
@@ -2,7 +2,7 @@ name: Standard
type: profile
description: 'Install with commonly used features pre-configured.'
version: VERSION
-core: 8.x
+core: ~8
install:
- node
- history
diff --git a/core/profiles/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml b/core/profiles/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml
index 5a8715fb34..954893b37f 100644
--- a/core/profiles/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml
+++ b/core/profiles/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing that a module in one profile can be reused in another profile.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml b/core/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
index 30bccf7122..1c1efd56eb 100644
--- a/core/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
+++ b/core/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Support module for testing the drupal_system_listing function.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/profiles/testing/testing.info.yml b/core/profiles/testing/testing.info.yml
index 9924817a3d..1e3b555db5 100644
--- a/core/profiles/testing/testing.info.yml
+++ b/core/profiles/testing/testing.info.yml
@@ -2,7 +2,7 @@ name: Testing
type: profile
description: 'Minimal profile for running tests. Includes absolutely required modules only.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
# Enable page_cache and dynamic_page_cache in testing, to ensure that as many
diff --git a/core/profiles/testing_config_import/testing_config_import.info.yml b/core/profiles/testing_config_import/testing_config_import.info.yml
index 7e57b4c9a6..920d39c55e 100644
--- a/core/profiles/testing_config_import/testing_config_import.info.yml
+++ b/core/profiles/testing_config_import/testing_config_import.info.yml
@@ -2,7 +2,7 @@ name: 'Testing config import'
type: profile
description: 'Tests install profiles in the config importer.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
- syslog
diff --git a/core/profiles/testing_config_overrides/testing_config_overrides.info.yml b/core/profiles/testing_config_overrides/testing_config_overrides.info.yml
index 2862811928..794e7eaf76 100644
--- a/core/profiles/testing_config_overrides/testing_config_overrides.info.yml
+++ b/core/profiles/testing_config_overrides/testing_config_overrides.info.yml
@@ -2,7 +2,7 @@ name: Testing config overrides
type: profile
description: 'Minimal profile for running tests with config overrides in a profile.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
- action
diff --git a/core/profiles/testing_install_profile_all_dependencies/testing_install_profile_all_dependencies.info.yml b/core/profiles/testing_install_profile_all_dependencies/testing_install_profile_all_dependencies.info.yml
index 01c7e17645..07a21d091c 100644
--- a/core/profiles/testing_install_profile_all_dependencies/testing_install_profile_all_dependencies.info.yml
+++ b/core/profiles/testing_install_profile_all_dependencies/testing_install_profile_all_dependencies.info.yml
@@ -2,7 +2,7 @@ name: 'Testing install profile all dependencies'
type: profile
description: 'Profile for testing that install profiles can require a module.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
dependencies:
- ban
diff --git a/core/profiles/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml b/core/profiles/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml
index 778e4d19d7..0c9b570c1d 100644
--- a/core/profiles/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml
+++ b/core/profiles/testing_install_profile_dependencies/testing_install_profile_dependencies.info.yml
@@ -2,7 +2,7 @@ name: 'Testing install profile dependencies'
type: profile
description: 'Profile for testing that install profiles can require a module.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
dependencies:
- dblog
diff --git a/core/profiles/testing_install_profile_dependencies_bc/testing_install_profile_dependencies_bc.info.yml b/core/profiles/testing_install_profile_dependencies_bc/testing_install_profile_dependencies_bc.info.yml
index 7c4b7bf224..90a14e0a59 100644
--- a/core/profiles/testing_install_profile_dependencies_bc/testing_install_profile_dependencies_bc.info.yml
+++ b/core/profiles/testing_install_profile_dependencies_bc/testing_install_profile_dependencies_bc.info.yml
@@ -2,7 +2,7 @@ name: 'Testing install profile dependencies BC layer'
type: profile
description: 'Profile for testing BC layer for profile dependencies.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
dependencies:
- dblog
diff --git a/core/profiles/testing_missing_dependencies/testing_missing_dependencies.info.yml b/core/profiles/testing_missing_dependencies/testing_missing_dependencies.info.yml
index 5532efdb7a..9d065f3341 100644
--- a/core/profiles/testing_missing_dependencies/testing_missing_dependencies.info.yml
+++ b/core/profiles/testing_missing_dependencies/testing_missing_dependencies.info.yml
@@ -2,7 +2,7 @@ name: 'Testing missing dependencies'
type: profile
description: 'Minimal profile for running a test when dependencies are listed but missing.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
- block
diff --git a/core/profiles/testing_multilingual/testing_multilingual.info.yml b/core/profiles/testing_multilingual/testing_multilingual.info.yml
index d2f7d35e28..69600a0868 100644
--- a/core/profiles/testing_multilingual/testing_multilingual.info.yml
+++ b/core/profiles/testing_multilingual/testing_multilingual.info.yml
@@ -2,7 +2,7 @@ name: Testing multilingual
type: profile
description: 'Minimal profile for running tests with a multilingual installer.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
- locale
diff --git a/core/profiles/testing_multilingual_with_english/testing_multilingual_with_english.info.yml b/core/profiles/testing_multilingual_with_english/testing_multilingual_with_english.info.yml
index c5e53b26b5..86e1741efb 100644
--- a/core/profiles/testing_multilingual_with_english/testing_multilingual_with_english.info.yml
+++ b/core/profiles/testing_multilingual_with_english/testing_multilingual_with_english.info.yml
@@ -2,7 +2,7 @@ name: 'Testing multilingual with English'
type: profile
description: 'Minimal profile for running tests with a multilingual installer.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
install:
- locale
diff --git a/core/profiles/testing_requirements/testing_requirements.info.yml b/core/profiles/testing_requirements/testing_requirements.info.yml
index a0e3e4f01d..e61a8f69fa 100644
--- a/core/profiles/testing_requirements/testing_requirements.info.yml
+++ b/core/profiles/testing_requirements/testing_requirements.info.yml
@@ -2,5 +2,5 @@ name: 'Testing requirements'
type: profile
description: 'Profile for testing hook_requirements().'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/profiles/testing_site_config/testing_site_config.info.yml b/core/profiles/testing_site_config/testing_site_config.info.yml
index 31a390557e..15fe7ef02d 100644
--- a/core/profiles/testing_site_config/testing_site_config.info.yml
+++ b/core/profiles/testing_site_config/testing_site_config.info.yml
@@ -2,5 +2,5 @@ name: Testing site config
type: profile
description: 'Minimal profile for testing with default site config.'
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/tests/Drupal/Tests/Component/Version/DrupalSemverTest.php b/core/tests/Drupal/Tests/Component/Version/DrupalSemverTest.php
new file mode 100644
index 0000000000..44285eaba6
--- /dev/null
+++ b/core/tests/Drupal/Tests/Component/Version/DrupalSemverTest.php
@@ -0,0 +1,57 @@
+assertSame($result, DrupalSemver::satisfies($version, $constraints));
+ }
+
+ public function providerSatisfies() {
+ $cases = [
+ ['8.8.0-dev', '8.x', TRUE],
+ ['8.8.0', '8.x', TRUE],
+ ['8.9.9', '8.x', TRUE],
+ ['8.0.0', '8.x', TRUE],
+ ['9.0.0', '8.x', FALSE],
+ ['9.1.0', '8.x', FALSE],
+ ['8.8.0', '~8', TRUE],
+ ['8.8.0', '^8', TRUE],
+ ['8.7.0', '^8.7.6', FALSE],
+ ['8.7.6', '^8.7.6', TRUE],
+ ['8.7.8', '^8.7.6', TRUE],
+ ['9.0.0', '^8.7.6', FALSE],
+ ['8.0.0', '^8 || ^9', TRUE],
+ ['9.1.1', '^8 || ^9', TRUE],
+ ['9.1.1', '^8.7.6 || ^9', TRUE],
+ ['8.7.8', '^8.7.6 || ^9', TRUE],
+ ['8.6.8', '^8.7.6 || ^9', FALSE],
+ ['8.6.8', '^9', FALSE],
+ ['9.1.1', '^9', TRUE],
+ ['9.0.0', '9.x', TRUE],
+ ['8.8.0', '9.x', FALSE],
+ ['8.8.0', '7.x', FALSE],
+ ['a-super-nonsense-string-will-not-throw-an-exception-but-also-will-not-work', '9.x', FALSE],
+ ['a-super-nonsense-string-will-not-throw-an-exception-but-also-will-not-work', '7.x', FALSE],
+ ['a-super-nonsense-string-will-not-throw-an-exception-but-also-will-not-work', '8.x', FALSE],
+ ];
+ $tests = [];
+ foreach ($cases as $case) {
+ $tests[$case[0] . ":" . $case[1]] = $case;
+ }
+ return $tests;
+ }
+
+}
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml
index 7ae9fde9e5..1e4f6cda9b 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test module enabled by default in module handler unit tests.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.info.yml b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.info.yml
index cb16fb73a9..7e30f95fe9 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.info.yml
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Test module used to test adding a module during runtime.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.info.yml b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.info.yml
index c6dabc6a77..c1886c89f2 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.info.yml
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Test module used to test adding groups of modules with loadAll during runtime.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.info.yml b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.info.yml
index 38aa79bf72..67a95b392d 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.info.yml
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.info.yml
@@ -3,5 +3,5 @@ type: module
description: 'Test module used to test adding groups of modules with loadAll during runtime.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
hidden: true
diff --git a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_no_hook/module_handler_test_no_hook.info.yml b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_no_hook/module_handler_test_no_hook.info.yml
index 589c3aca37..1998c01cfb 100644
--- a/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_no_hook/module_handler_test_no_hook.info.yml
+++ b/core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_no_hook/module_handler_test_no_hook.info.yml
@@ -3,4 +3,4 @@ type: module
description: 'Test module used to test modules that do not implement a hook.'
package: Testing
version: VERSION
-core: 8.x
+core: ~8
diff --git a/core/themes/bartik/bartik.info.yml b/core/themes/bartik/bartik.info.yml
index 130d583c91..c168187c13 100644
--- a/core/themes/bartik/bartik.info.yml
+++ b/core/themes/bartik/bartik.info.yml
@@ -17,7 +17,7 @@ base theme: classy
description: 'A flexible, recolorable theme with many regions and a responsive, mobile-first layout.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
libraries:
- bartik/global-styling
ckeditor_stylesheets:
diff --git a/core/themes/classy/classy.info.yml b/core/themes/classy/classy.info.yml
index 4685c3faf5..94a14992d1 100644
--- a/core/themes/classy/classy.info.yml
+++ b/core/themes/classy/classy.info.yml
@@ -3,7 +3,7 @@ type: theme
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the Drupal 8 Theming Guide.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
hidden: true
libraries:
diff --git a/core/themes/engines/twig/twig.info.yml b/core/themes/engines/twig/twig.info.yml
index 17673841c8..29c433ba24 100644
--- a/core/themes/engines/twig/twig.info.yml
+++ b/core/themes/engines/twig/twig.info.yml
@@ -1,5 +1,5 @@
type: theme_engine
name: Twig
-core: 8.x
+core: ~8
version: VERSION
package: Core
diff --git a/core/themes/seven/seven.info.yml b/core/themes/seven/seven.info.yml
index f00d395914..ce0e95eba5 100644
--- a/core/themes/seven/seven.info.yml
+++ b/core/themes/seven/seven.info.yml
@@ -18,7 +18,7 @@ description: 'The default administration theme for Drupal 8 was designed with cl
alt text: 'Default administration theme for Drupal 8 with simple blocks and clean lines.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
libraries:
- seven/global-styling
libraries-override:
diff --git a/core/themes/stable/stable.info.yml b/core/themes/stable/stable.info.yml
index 91deed83a2..7d9a3ba97a 100644
--- a/core/themes/stable/stable.info.yml
+++ b/core/themes/stable/stable.info.yml
@@ -3,7 +3,7 @@ type: theme
description: A default base theme using Drupal 8.0.0's core markup and CSS.
package: Core
version: VERSION
-core: 8.x
+core: ~8
base theme: false
hidden: true
diff --git a/core/themes/stark/stark.info.yml b/core/themes/stark/stark.info.yml
index fde7982959..42969c57f9 100644
--- a/core/themes/stark/stark.info.yml
+++ b/core/themes/stark/stark.info.yml
@@ -3,5 +3,5 @@ type: theme
description: 'An intentionally plain theme with no styling to demonstrate default Drupal’s HTML and CSS. Learn how to build a custom theme from Stark in the Theming Guide.'
package: Core
version: VERSION
-core: 8.x
+core: ~8
base theme: false