diff --git a/src/Symfony/Component/String/AbstractString.php b/src/Symfony/Component/String/AbstractString.php index 47deb5aba28b6..bdae34dd8ba77 100644 --- a/src/Symfony/Component/String/AbstractString.php +++ b/src/Symfony/Component/String/AbstractString.php @@ -26,8 +26,6 @@ * @author Hugo Hamon * * @throws ExceptionInterface - * - * @experimental in 5.0 */ abstract class AbstractString implements \JsonSerializable { diff --git a/src/Symfony/Component/String/AbstractUnicodeString.php b/src/Symfony/Component/String/AbstractUnicodeString.php index 5b8b87252f4df..95afa624d9035 100644 --- a/src/Symfony/Component/String/AbstractUnicodeString.php +++ b/src/Symfony/Component/String/AbstractUnicodeString.php @@ -25,8 +25,6 @@ * @author Nicolas Grekas * * @throws ExceptionInterface - * - * @experimental in 5.0 */ abstract class AbstractUnicodeString extends AbstractString { diff --git a/src/Symfony/Component/String/ByteString.php b/src/Symfony/Component/String/ByteString.php index eb42893a14efc..b810be1338e26 100644 --- a/src/Symfony/Component/String/ByteString.php +++ b/src/Symfony/Component/String/ByteString.php @@ -22,8 +22,6 @@ * @author Hugo Hamon * * @throws ExceptionInterface - * - * @experimental in 5.0 */ class ByteString extends AbstractString { diff --git a/src/Symfony/Component/String/CHANGELOG.md b/src/Symfony/Component/String/CHANGELOG.md index e591d83c34e94..af29651c63f9e 100644 --- a/src/Symfony/Component/String/CHANGELOG.md +++ b/src/Symfony/Component/String/CHANGELOG.md @@ -7,6 +7,7 @@ CHANGELOG * added the `AbstractString::reverse()` method * made `AbstractString::width()` follow POSIX.1-2001 * added `LazyString` which provides memoizing stringable objects + * The component is not marked as `@experimental` anymore. 5.0.0 ----- diff --git a/src/Symfony/Component/String/CodePointString.php b/src/Symfony/Component/String/CodePointString.php index d1ac91570181d..8f0034ac9056f 100644 --- a/src/Symfony/Component/String/CodePointString.php +++ b/src/Symfony/Component/String/CodePointString.php @@ -21,8 +21,6 @@ * @author Hugo Hamon * * @throws ExceptionInterface - * - * @experimental in 5.0 */ class CodePointString extends AbstractUnicodeString { diff --git a/src/Symfony/Component/String/Exception/ExceptionInterface.php b/src/Symfony/Component/String/Exception/ExceptionInterface.php index e10a3f030bc23..361978656bfef 100644 --- a/src/Symfony/Component/String/Exception/ExceptionInterface.php +++ b/src/Symfony/Component/String/Exception/ExceptionInterface.php @@ -11,9 +11,6 @@ namespace Symfony\Component\String\Exception; -/** - * @experimental in 5.0 - */ interface ExceptionInterface extends \Throwable { } diff --git a/src/Symfony/Component/String/Exception/InvalidArgumentException.php b/src/Symfony/Component/String/Exception/InvalidArgumentException.php index fff6207f9c663..6aa586bcf930f 100644 --- a/src/Symfony/Component/String/Exception/InvalidArgumentException.php +++ b/src/Symfony/Component/String/Exception/InvalidArgumentException.php @@ -11,9 +11,6 @@ namespace Symfony\Component\String\Exception; -/** - * @experimental in 5.0 - */ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { } diff --git a/src/Symfony/Component/String/Exception/RuntimeException.php b/src/Symfony/Component/String/Exception/RuntimeException.php index 747db4dc9d763..77cb091f9ca80 100644 --- a/src/Symfony/Component/String/Exception/RuntimeException.php +++ b/src/Symfony/Component/String/Exception/RuntimeException.php @@ -11,9 +11,6 @@ namespace Symfony\Component\String\Exception; -/** - * @experimental in 5.0 - */ class RuntimeException extends \RuntimeException implements ExceptionInterface { } diff --git a/src/Symfony/Component/String/README.md b/src/Symfony/Component/String/README.md index 4f3992a0b486d..23ad86ad8fe44 100644 --- a/src/Symfony/Component/String/README.md +++ b/src/Symfony/Component/String/README.md @@ -4,11 +4,6 @@ String Component The String component provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way. -**This component is experimental**. -[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html) -are not covered by Symfony's -[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html). - Resources --------- diff --git a/src/Symfony/Component/String/Resources/functions.php b/src/Symfony/Component/String/Resources/functions.php index 739b216e4fd04..6b05c461aef59 100644 --- a/src/Symfony/Component/String/Resources/functions.php +++ b/src/Symfony/Component/String/Resources/functions.php @@ -11,17 +11,11 @@ namespace Symfony\Component\String; -/** - * @experimental in 5.0 - */ function u(string $string = ''): UnicodeString { return new UnicodeString($string); } -/** - * @experimental in 5.0 - */ function b(string $string = ''): ByteString { return new ByteString($string); diff --git a/src/Symfony/Component/String/Slugger/AsciiSlugger.php b/src/Symfony/Component/String/Slugger/AsciiSlugger.php index 5a33c465aa5e2..cb6f5b2b12f90 100644 --- a/src/Symfony/Component/String/Slugger/AsciiSlugger.php +++ b/src/Symfony/Component/String/Slugger/AsciiSlugger.php @@ -17,8 +17,6 @@ /** * @author Titouan Galopin - * - * @experimental in 5.0 */ class AsciiSlugger implements SluggerInterface, LocaleAwareInterface { diff --git a/src/Symfony/Component/String/Slugger/SluggerInterface.php b/src/Symfony/Component/String/Slugger/SluggerInterface.php index 35d96d044ce38..c679ed9331040 100644 --- a/src/Symfony/Component/String/Slugger/SluggerInterface.php +++ b/src/Symfony/Component/String/Slugger/SluggerInterface.php @@ -17,8 +17,6 @@ * Creates a URL-friendly slug from a given string. * * @author Titouan Galopin - * - * @experimental in 5.0 */ interface SluggerInterface { diff --git a/src/Symfony/Component/String/UnicodeString.php b/src/Symfony/Component/String/UnicodeString.php index ada77caaae4c0..485d6f0e2d21e 100644 --- a/src/Symfony/Component/String/UnicodeString.php +++ b/src/Symfony/Component/String/UnicodeString.php @@ -29,8 +29,6 @@ * @author Hugo Hamon * * @throws ExceptionInterface - * - * @experimental in 5.0 */ class UnicodeString extends AbstractUnicodeString {