Problem/Motivation

Some of the code in core does not follow the phpunit standards described here

The Task is to rename the functions and dataproviders to fix this

Steps to reproduce

$ grep -nriI "\* @dataProvider" * --exclude-dir=vendor | grep -v " provider*"

Proposed resolution

Remaining tasks

Postponed on coding standards issue. #2057905: [policy, no patch] Discuss the standards for phpunit based tests

User interface changes

API changes

Data model changes

Release notes snippet

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task, because this is renaming some test methods.
Issue priority Normal, because this issue improves naming.
Unfrozen changes Unfrozen, because it only changes tests.

Comments

ParisLiakos’s picture

dawehner’s picture

Priority: Normal » Minor
Issue tags: +Novice

I don't think that hurts anyone.

jb567’s picture

Assigned: Unassigned » jb567

assigning to myself

jb567’s picture

Issue summary: View changes
jb567’s picture

Issue summary: View changes
jb567’s picture

Assigned: jb567 » Unassigned
Status: Active » Needs review
StatusFileSize
new14.73 KB

Hi,
I am new to contributing to open source, but have been using the software for a while, so its time to give back,
This should have renamed all of the @dataprovider 's methods and docblocks to the standard described here,
Thanks,
Jacob

Status: Needs review » Needs work
jb567’s picture

StatusFileSize
new14.73 KB

Sorry accidently missed the d in provider in the method providerLocalePageRoutes()
EDIT: Wrong patch name

jb567’s picture

StatusFileSize
new14.73 KB

Correct patch name for post number

wiifm’s picture

Status: Needs work » Needs review

Marking 'needs review' to get the test bot to fire

Status: Needs review » Needs work

wiifm’s picture

looks like a simple typo again - proivderTaxonomyPageRoutes - note the spelling.

jb567’s picture

Status: Needs work » Needs review
StatusFileSize
new14.73 KB

typo fixed

wiifm’s picture

Status: Needs review » Reviewed & tested by the community

Have applied the patch and re-ran the script

grep -nriI "\* @dataProvider" * --exclude-dir=core/vendor | grep -v " provider"

No files found that do not conform to the documentation. The method names are mostly a rename of 'get' or 'test' to 'provider' which makes perfect sense.

All phpunit tests pass and the test bot is green. Happy to RTBC this issue.

tim.plunkett’s picture

Status: Reviewed & tested by the community » Postponed
sun’s picture

Status: Postponed » Needs work

FWIW, single-pass, fast PCRE:

$ grep -r --exclude-dir=vendor --include='*.php' -P '@dataProvider (?!provider)' core/

Renaming all of those to replace get|test|resolve|route|calculate|form|accept with a "provider" prefix is perfectly sensible, regardless of whether a more granular guideline may be discussed (or not, hopefully). Some affected method names will require manual adjustments.

Status quo, as of now:

core/modules/aggregator/tests/src/Menu/AggregatorLocalTasksTest.php:   * @dataProvider getAggregatorAdminRoutes
core/modules/aggregator/tests/src/Menu/AggregatorLocalTasksTest.php:   * @dataProvider getAggregatorSourceRoutes
core/modules/block_content/tests/src/Menu/BlockContentLocalTasksTest.php:   * @dataProvider getBlockContentListingRoutes
core/modules/book/tests/src/Menu/BookLocalTasksTest.php:   * @dataProvider getBookAdminRoutes
core/modules/book/tests/src/Menu/BookLocalTasksTest.php:   * @dataProvider getBookNodeRoutes
core/modules/config/tests/src/Menu/ConfigLocalTasksTest.php:   * @dataProvider getConfigAdminRoutes
core/modules/language/tests/src/Menu/LanguageLocalTasksTest.php:   * @dataProvider getLanguageAdminOverviewRoutes
core/modules/locale/tests/src/LocaleLookupTest.php:   * @dataProvider resolveCacheMissWithFallbackProvider
core/modules/locale/tests/src/Menu/LocaleLocalTasksTest.php:   * @dataProvider getLocalePageRoutes
core/modules/shortcut/tests/src/Menu/ShortcutLocalTasksTest.php:   * @dataProvider getShortcutPageRoutes
core/modules/simpletest/tests/src/TestBaseTest.php:   * @dataProvider randomStringValidateProvider
core/modules/system/tests/src/Menu/SystemLocalTasksTest.php:   * @dataProvider getSystemAdminRoutes
core/modules/taxonomy/tests/src/Menu/TaxonomyLocalTasksTest.php:   * @dataProvider getTaxonomyPageRoutes
core/modules/tour/tests/src/Entity/TourTest.php:   * @dataProvider routeProvider
core/modules/user/tests/src/Menu/UserLocalTasksTest.php:   * @dataProvider getUserAdminRoutes
core/modules/user/tests/src/Menu/UserLocalTasksTest.php:   * @dataProvider getUserLoginRoutes
core/modules/user/tests/src/Menu/UserLocalTasksTest.php:   * @dataProvider getUserPageRoutes
core/modules/views/tests/src/Entity/ViewTest.php:   * @dataProvider calculateDependenciesProvider
core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php:   * @dataProvider testRemoveRouteProvider
core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php:   * @dataProvider dependencyProvider
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php:   * @dataProvider formStateResponseProvider
core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php:   * @dataProvider getActionsForRouteProvider
core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php:   * @dataProvider getMatchPathData
core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php:   * @dataProvider roleAccessProvider
core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php:   * @dataProvider acceptFilterProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
core/tests/Drupal/Tests/Core/Routing/RouteMatchBaseTest.php:   * @dataProvider routeMatchProvider
sobi3ch’s picture

Assigned: Unassigned » sobi3ch
sobi3ch’s picture

StatusFileSize
new44.58 KB

OK I've tried apply @sun hints..

sobi3ch’s picture

Status: Needs work » Needs review

Go test bot, go!

sobi3ch’s picture

Fixing one naming mistake, so applying updated patch. To be clear I follow @sun mini shell-grep test:
$ grep -r --exclude-dir=vendor --include='*.php' -P '@dataProvider (?!provider)' core/

daffie’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

Good work sobo3sh!

Some remarks about your patch:

  1. In #2057905: [policy, no patch] Discuss the standards for phpunit based tests is some guidance for the naming of dataprovider functions. If the test function is named testSomeSpecialName() then the provider function is called providerSomeSpecialName(). That is not always done in your patch. There is an exception when a dataprovider is used multiple times.
  2. #2303391: Tab 'Log in' shows on 'Request new password page for logged-in users and is missing for logged-out users has landed and now you need to reroll this patch. Sorry :-(
ankitgarg’s picture

Assigned: sobi3ch » ankitgarg
ankitgarg’s picture

Status: Needs work » Needs review
StatusFileSize
new43.35 KB

Rerolled.

daffie’s picture

@ankitgarg: Can you add an interdiff.txt file. That makes reviewing a lot easier. :-)

ankitgarg’s picture

StatusFileSize
new1.2 KB

@daffie: Interdiff.txt Attached for comment #24

daffie’s picture

Status: Needs review » Needs work

Hi ankitgarg!

  1. You forgot a few cases in core/tests/Drupal/Tests/Core/Config/ConfigTest.php
  2. Can you apply #22.1 to your patch
sobi3ch’s picture

@ankitgarg any problems?

sobi3ch’s picture

Assigned: ankitgarg » Unassigned
alvar0hurtad0’s picture

Issue tags: -Needs reroll

Rerolled on #24

kyuubi’s picture

Status: Needs work » Needs review
StatusFileSize
new44.35 KB

Hi guys,

I rerolled the patch as it didn't apply properly anymore and took the chance to address some missing cases in ConfigTest.php as stated in #27.

I also had a look in cases like #22.1 but all the ones I found are exceptions where the dataprovider is used in multiple places.

Also the comments for testRandomStringValidate in TestBaseTest.php seems to be missing since commit 88350da6008f558dcd8f6855a003598e4544c4b8

It's added in this patch, so let me know if it should be removed.

franksj’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

Patch does not apply. :(

rpayanm’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new43.96 KB
disasm’s picture

Status: Needs review » Needs work

Great job! Here's 5 more though that need done!

core/modules/migrate_drupal/tests/src/Unit/MigrationStorageTest.php:24:   * @dataProvider entityIdsDataProvider
core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php:15:   * @dataProvider infoParserProvider
core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php:68:   * @dataProvider canonicalizeNameProvider
core/tests/Drupal/Tests/Core/Cache/CacheTest.php:112:   * @dataProvider mergeMaxAgesProvider
core/tests/Drupal/Tests/Core/ContentNegotiationTest.php:49:   * @dataProvider priorityFormatProvider
kyuubi’s picture

Status: Needs work » Needs review
StatusFileSize
new48.34 KB
new4.63 KB

Hi guys,

Here is another patch addressing #34

Attaching interdiff as well.

Cheers,

disasm’s picture

Category: Bug report » Task
Issue tags: +Needs reroll

googletorp queued 35: 2153181-35.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 35: 2153181-35.patch, failed testing.

googletorp’s picture

Status: Needs work » Needs review
StatusFileSize
new48.35 KB

Rerolled the patch.

googletorp’s picture

Issue tags: -Needs reroll
fbailey’s picture

fbailey’s picture

StatusFileSize
new48.35 KB
fbailey’s picture

Issue tags: -Needs reroll, -Needs beta evaluation +Needs Review
cilefen’s picture

Issue tags: -Needs Review +Needs beta evaluation

It still needs a beta evaluation.

fbailey’s picture

Issue summary: View changes
fbailey’s picture

Issue summary: View changes
fbailey’s picture

Priority: Minor » Normal
Issue tags: -Needs beta evaluation
cilefen’s picture

Issue summary: View changes

Status: Needs review » Needs work

The last submitted patch, 42: incorrect_method_names-2153181-42.patch, failed testing.

Status: Needs work » Needs review
xano’s picture

Issue tags: +Needs reroll

The patch looks good, but it does need a re-roll.

xano’s picture

I searched for occurrences of @dataProvider (?!provider) (a regular expression) in the code base and there are two more incorrect data provider method names left, namely \Drupal\Tests\Core\Cache\CacheContextsTest::validateTokensProvider() and \Drupal\Tests\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidatorTest::provideTestValidate().

nitesh sethia’s picture

StatusFileSize
new48.83 KB

Rerolled #42 as per the latest release.

nitesh sethia’s picture

Issue tags: -Needs reroll

Removing Needs reroll tag from this task.

daffie’s picture

Status: Needs review » Needs work

Looks good. Some minor comments:

+++ b/core/modules/simpletest/tests/src/Unit/TestBaseTest.php
@@ -79,6 +79,15 @@ public function providerRandomStringValidate() {
+   * Tests the random strings validation rules.
+   *
+   * @param string $string
+   *   The string to validate.
+   * @param bool $expected
+   *   The expected result of the validation.
+   *
+   * @see \Drupal\simpletest\TestBase::randomStringValidate().
+   *

This can go. The first and the last line are not necessary because of @covers ::randomStringValidate. The parameter definition is not necessary because they are documented with the provider function.

+++ b/core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php
@@ -71,7 +71,7 @@ public function acceptFilterProvider() {
-   * @dataProvider acceptFilterProvider
+   * @dataProvider providerAcceptFilter

The provider function must be renamed too.

+++ b/core/tests/Drupal/Tests/Core/ContentNegotiationTest.php
@@ -44,7 +44,30 @@ public function testAjaxIframeUpload() {
-   * Tests the specifying a format via query parameters gets used.
+   * Tests the getContentType() method when a priority format is found.
+   *
+   * @dataProvider providerPriorityFormatIsFound
+   * @covers ::getContentType
+   */
+  public function testAPriorityFormatIsFound($priority, $format) {
+    $request = new Request();
+    $request->setFormat($format['format'], $format['mime_type']);
+    $request->headers->set('Accept', sprintf('%s,application/json', $format['mime_type']));
+
+    $this->assertSame($priority, $this->contentNegotiation->getContentType($request));
+  }
+
+  public function providerPriorityFormatIsFound()
+  {
+    return [
+      ['html', ['format' => 'html', 'mime_type' => 'text/html']],
+    ];
+  }
+
+  /**
+   * Tests the getContentType() method when no priority format is found but a valid one is found.
+   *
+   * @covers ::getContentType

Adding a new test is fine. It just does not belong in this issue.

tomasnagy’s picture

Assigned: Unassigned » tomasnagy
tomasnagy’s picture

StatusFileSize
new46.6 KB

Rerolled.
2 files relevant to patch removed:
core/modules/migrate_drupal/tests/src/Unit/MigrationStorageTest.php (from issue #2549013)
core/tests/Drupal/Tests/Core/ContentNegotiationTest.php (from issue #2506533)

tomasnagy’s picture

Status: Needs work » Needs review
Issue tags: +DUGBE0609
StatusFileSize
new46.98 KB
new851 bytes

Renamed acceptFilterProvider to providerAcceptFilter.
Left docs for testRandomStringValidate().

stefan.r’s picture

Status: Needs review » Needs work

are we still missing these?

modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php:371:   * @dataProvider lookupDestinationIdMappingDataProvider
modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php:455:   * @dataProvider lookupSourceIDMappingDataProvider
modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php:573:   * @dataProvider updateCountDataProvider
modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php:615:   * @dataProvider errorCountDataProvider
modules/node/src/Tests/Migrate/d7/MigrateNodeTypeTest.php:42:   * @dataProvider testNodeTypeDataProvider
tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php:666:   * @dataProvider scopeExceptionTestProvider
tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php:99:     * @dataProvider getAliasesDataProvider
tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php:138:     * @dataProvider getParametersDataProvider
tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php:210:     * @dataProvider getDefinitionsDataProvider
tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php:209:   * @dataProvider validateTokensProvider
tests/Drupal/Tests/Core/Form/FormElementHelperTest.php:28:   * @dataProvider getElementByNameProvider
tests/Drupal/Tests/Core/Form/FormElementHelperTest.php:113:   * @dataProvider getElementTitleProvider
tomasnagy’s picture

Status: Needs work » Needs review
StatusFileSize
new9.95 KB
new56.94 KB

Renamed remaining files.
Removed testNodeTypeDataProvider from MigrateNodeTypeTest.php since it's not declared anywhere.

stefan.r’s picture

Looks like we have them all now, let's see if this comes back green...

daffie’s picture

Status: Needs review » Reviewed & tested by the community

All changes look good to me.

stefan.r’s picture

+1

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 60: incorrect_method_names-2153181-60.patch, failed testing.

mgifford’s picture

Assigned: tomasnagy » Unassigned

@tomasnagy I assume you're not still working on it.

mitrpaka’s picture

Status: Needs work » Needs review
StatusFileSize
new57.42 KB
new4.19 KB

Reroll and update.

mitrpaka’s picture

Issue tags: +drupalcampfi
imiksu’s picture

Issue tags: -drupalcampfi

Cleaning up drupalcampfi tags.

googletorp’s picture

Status: Needs review » Reviewed & tested by the community

Ok, this looks good now, this is RTBC imo.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 66: incorrect_method_names-2153181-66.patch, failed testing.

tstoeckler’s picture

Issue tags: +DrupalBCDays

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

lluvigne’s picture

Status: Needs work » Needs review
Issue tags: +DrupalCampES
StatusFileSize
new57.25 KB

Rerolled patch #66 . Hope it works this time!

dimaro’s picture

Status: Needs review » Reviewed & tested by the community

I manually reviewed the latest patch and looking the scope of the issue all seems to be OK.
RTBC I'd say.

alexpott’s picture

Status: Reviewed & tested by the community » Postponed

So the problem is that #2057905: [policy, no patch] Discuss the standards for phpunit based tests has not been ratified and accepted yet. So making this change is premature. One thing that would be good is to get phpcs rules developed for the proposed standard so that once we've agreed the standard then we can implemented the rules in core and not regress. I realise that this will make the work here seem currently wasted. But the problem with all coding standards outside of the work to enforce them using phpcs.xml.dist is impossible to enforce.

Postponing this issue on #2057905: [policy, no patch] Discuss the standards for phpunit based tests

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Component: phpunit » other
Issue tags: -Novice +Coding standards

Adding coding standards tag and changing component to 'other'.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Issue summary: View changes

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.