diff -u b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php --- b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php @@ -111,7 +111,7 @@ public function dataTestDecoupledPendingRevisions() { $sets = []; - $sets['Intermixed languages - No initial default translation'] = [[ + $sets['Intermixed languages - No initial default translation'][] = [ ['en', TRUE], ['en', FALSE], ['it', FALSE], @@ -119,18 +119,18 @@ ['it', FALSE], ['en', TRUE], ['it', TRUE], - ]]; + ]; - $sets['Intermixed languages - With initial default translation'] = [[ + $sets['Intermixed languages - With initial default translation'][] = [ ['en', TRUE], ['it', TRUE], ['en', FALSE], ['it', FALSE], ['en', TRUE], ['it', TRUE], - ]]; + ]; - $sets['Alternate languages - No initial default translation'] = [[ + $sets['Alternate languages - No initial default translation'][] = [ ['en', TRUE], ['en', FALSE], ['en', FALSE], @@ -140,9 +140,9 @@ ['it', FALSE], ['it', FALSE], ['it', TRUE], - ]]; + ]; - $sets['Alternate languages - With initial default translation'] = [[ + $sets['Alternate languages - With initial default translation'][] = [ ['en', TRUE], ['it', TRUE], ['en', TRUE], @@ -153,9 +153,9 @@ ['it', FALSE], ['it', FALSE], ['it', TRUE], - ]]; + ]; - $sets['Multiple languages - No initial default translation'] = [[ + $sets['Multiple languages - No initial default translation'][] = [ ['en', TRUE], ['it', FALSE], ['fr', FALSE], @@ -169,9 +169,9 @@ ['fr', TRUE], ['it', TRUE], ['fr', TRUE], - ]]; + ]; - $sets['Multiple languages - With initial default translation'] = [[ + $sets['Multiple languages - With initial default translation'][] = [ ['en', TRUE], ['it', TRUE], ['fr', TRUE], @@ -186,7 +186,7 @@ ['fr', TRUE], ['it', TRUE], ['fr', TRUE], - ]]; + ]; return $sets; }