Skip to content

Commit a287d11

Browse files
authored
Merge pull request #93 from mglaman/fix-deprecation-tests
Fix tested deprecation messages for the new format
2 parents 336d12c + fd6e41b commit a287d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/DeprecationRulesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function dataDeprecatedSamples(): \Generator
2525
[
2626
'\Drupal calls should be avoided in classes, use dependency injection instead',
2727
'Call to deprecated method url() of class Drupal:
28-
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
28+
in drupal:8.0.0 and is removed from drupal:9.0.0.
2929
Instead create a \Drupal\Core\Url object directly, for example using
3030
Url::fromRoute().'
3131
]
@@ -35,7 +35,7 @@ public function dataDeprecatedSamples(): \Generator
3535
1,
3636
[
3737
'Class Drupal\Core\Entity\EntityManager implements deprecated interface Drupal\Core\Entity\EntityManagerInterface:
38-
in Drupal 8.0.0, will be removed before Drupal 9.0.0.'
38+
in drupal:8.0.0 and is removed from drupal:9.0.0.'
3939
]
4040
];
4141
}

0 commit comments

Comments
 (0)