diff --git a/src/Generator/MtRandGenerator.php b/src/Generator/MtRandGenerator.php index d38ea5f..8d4b5f9 100644 --- a/src/Generator/MtRandGenerator.php +++ b/src/Generator/MtRandGenerator.php @@ -18,10 +18,10 @@ namespace Ramsey\Uuid\Generator; * MtRandRandomGenerator provides functionality to generate strings of random * binary data using the `mt_rand()` PHP function * - * @deprecated 4.0.0 The mt_rand() function is not a reliable source of - * randomness. The default RandomBytesGenerator, which uses the - * random_bytes() function, is recommended as the safest and most reliable - * source of randomness. + * @deprecated The mt_rand() function is not a reliable source of randomness. + * The default RandomBytesGenerator, which uses the random_bytes() function, + * is recommended as the safest and most reliable source of randomness. + * This generator will be removed in ramsey/uuid 4.0.0. * @link http://php.net/mt_rand */ class MtRandGenerator implements RandomGeneratorInterface diff --git a/src/Generator/OpenSslGenerator.php b/src/Generator/OpenSslGenerator.php index 2661c1f..47abf9b 100644 --- a/src/Generator/OpenSslGenerator.php +++ b/src/Generator/OpenSslGenerator.php @@ -21,10 +21,11 @@ namespace Ramsey\Uuid\Generator; * The use of this generator requires PHP to be compiled using the * `--with-openssl` option. * - * @deprecated 4.0.0 The openssl_random_pseudo_bytes() function is not a reliable + * @deprecated The openssl_random_pseudo_bytes() function is not a reliable * source of randomness. The default RandomBytesGenerator, which uses the * random_bytes() function, is recommended as the safest and most reliable * source of randomness. + * This generator will be removed in ramsey/uuid 4.0.0. * @link http://php.net/openssl_random_pseudo_bytes */ class OpenSslGenerator implements RandomGeneratorInterface diff --git a/src/Generator/SodiumRandomGenerator.php b/src/Generator/SodiumRandomGenerator.php index 3de53fa..f4ccf85 100644 --- a/src/Generator/SodiumRandomGenerator.php +++ b/src/Generator/SodiumRandomGenerator.php @@ -18,10 +18,11 @@ namespace Ramsey\Uuid\Generator; * SodiumRandomGenerator provides functionality to generate strings of random * binary data using the PECL libsodium extension * - * @deprecated 4.0.0 As of PHP 7.2.0, the libsodium extension is bundled with - * PHP, and the random_bytes() PHP function is now the recommended method - * for generating random byes. The default RandomBytesGenerator uses the + * @deprecated As of PHP 7.2.0, the libsodium extension is bundled with PHP, and + * the random_bytes() PHP function is now the recommended method for + * generating random byes. The default RandomBytesGenerator uses the * random_bytes() function. + * This generator will be removed in ramsey/uuid 4.0.0. * @link http://pecl.php.net/package/libsodium * @link https://paragonie.com/book/pecl-libsodium */