X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FDatabase%2FFakeRecord.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FDatabase%2FFakeRecord.php;h=cd7486cc73f92109c01ad8125d305985da322a79;hp=fce136684ee85c1aaabad91062344e66c5c098d8;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/system/src/Tests/Database/FakeRecord.php b/web/core/modules/system/src/Tests/Database/FakeRecord.php index fce136684..cd7486cc7 100644 --- a/web/core/modules/system/src/Tests/Database/FakeRecord.php +++ b/web/core/modules/system/src/Tests/Database/FakeRecord.php @@ -2,11 +2,16 @@ namespace Drupal\system\Tests\Database; +@trigger_error(__NAMESPACE__ . '\FakeRecord is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Database\FakeRecord', E_USER_DEPRECATED); + /** * Fetches into a class. * * PDO supports using a new instance of an arbitrary class for records * rather than just a stdClass or array. This class is for testing that * functionality. (See testQueryFetchClass() below) + * + * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead + * use \Drupal\Tests\system\Functional\Database\FakeRecord. */ class FakeRecord { }