projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgraded drupal core with security updates
[yaffs-website]
/
web
/
core
/
modules
/
taxonomy
/
src
/
Tests
/
TaxonomyTestTrait.php
diff --git
a/web/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php
b/web/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php
index 744ab1b28b497c5a8feb6ff9cb0b65ce912370fb..8c4a6672703d8f542353fd57520c02cd3abb7fb4 100644
(file)
--- a/
web/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php
+++ b/
web/core/modules/taxonomy/src/Tests/TaxonomyTestTrait.php
@@
-2,6
+2,8
@@
namespace Drupal\taxonomy\Tests;
namespace Drupal\taxonomy\Tests;
+@trigger_error(__NAMESPACE__ . '\TaxonomyTestTrait is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait', E_USER_DEPRECATED);
+
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Language\LanguageInterface;
use Drupal\taxonomy\Entity\Vocabulary;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Language\LanguageInterface;
use Drupal\taxonomy\Entity\Vocabulary;
@@
-9,6
+11,9
@@
use Drupal\taxonomy\Entity\Term;
/**
* Provides common helper methods for Taxonomy module tests.
/**
* Provides common helper methods for Taxonomy module tests.
+ *
+ * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
+ * Use \Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait
*/
trait TaxonomyTestTrait {
*/
trait TaxonomyTestTrait {