Issue #3118186 by swatichouhan012: Incorrect link for deprecated randomBytes()...
Issue #3118186 by swatichouhan012: Incorrect link for deprecated randomBytes() method description in utility component
(cherry picked from commit 0f860c98)
* @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
* Use PHP's built-in random_bytes() function instead.
*
* @see https://www.drupal.org/node/3054488
* @see https://www.drupal.org/node/3057191
*/
publicstaticfunctionrandomBytes($count){
@trigger_error(__CLASS__.'::randomBytes() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use PHP\'s built-in random_bytes() function instead. See https://www.drupal.org/node/3054488',E_USER_DEPRECATED);
@trigger_error(__CLASS__.'::randomBytes() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use PHP\'s built-in random_bytes() function instead. See https://www.drupal.org/node/3057191',E_USER_DEPRECATED);
@@ -18,7 +18,7 @@ class CryptTest extends TestCase {
* Tests random byte generation.
*
* @covers ::randomBytes
* @expectedDeprecation Drupal\Component\Utility\Crypt::randomBytes() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use PHP's built-in random_bytes() function instead. See https://www.drupal.org/node/3054488
* @expectedDeprecation Drupal\Component\Utility\Crypt::randomBytes() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use PHP's built-in random_bytes() function instead. See https://www.drupal.org/node/3057191