Skip to content

Commit 3d15f91

Browse files
committed
[String] Remove the @experimental status
1 parent e87f86b commit 3d15f91

13 files changed

+1
-34
lines changed

src/Symfony/Component/String/AbstractString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
* @author Hugo Hamon <[email protected]>
2727
*
2828
* @throws ExceptionInterface
29-
*
30-
* @experimental in 5.0
3129
*/
3230
abstract class AbstractString implements \JsonSerializable
3331
{

src/Symfony/Component/String/AbstractUnicodeString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* @author Nicolas Grekas <[email protected]>
2626
*
2727
* @throws ExceptionInterface
28-
*
29-
* @experimental in 5.0
3028
*/
3129
abstract class AbstractUnicodeString extends AbstractString
3230
{

src/Symfony/Component/String/ByteString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @author Hugo Hamon <[email protected]>
2323
*
2424
* @throws ExceptionInterface
25-
*
26-
* @experimental in 5.0
2725
*/
2826
class ByteString extends AbstractString
2927
{

src/Symfony/Component/String/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ CHANGELOG
77
* added the `AbstractString::reverse()` method
88
* made `AbstractString::width()` follow POSIX.1-2001
99
* added `LazyString` which provides memoizing stringable objects
10+
* The component is not marked as `@experimental` anymore.
1011

1112
5.0.0
1213
-----

src/Symfony/Component/String/CodePointString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @author Hugo Hamon <[email protected]>
2222
*
2323
* @throws ExceptionInterface
24-
*
25-
* @experimental in 5.0
2624
*/
2725
class CodePointString extends AbstractUnicodeString
2826
{

src/Symfony/Component/String/Exception/ExceptionInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
namespace Symfony\Component\String\Exception;
1313

14-
/**
15-
* @experimental in 5.0
16-
*/
1714
interface ExceptionInterface extends \Throwable
1815
{
1916
}

src/Symfony/Component/String/Exception/InvalidArgumentException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
namespace Symfony\Component\String\Exception;
1313

14-
/**
15-
* @experimental in 5.0
16-
*/
1714
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
1815
{
1916
}

src/Symfony/Component/String/Exception/RuntimeException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
namespace Symfony\Component\String\Exception;
1313

14-
/**
15-
* @experimental in 5.0
16-
*/
1714
class RuntimeException extends \RuntimeException implements ExceptionInterface
1815
{
1916
}

src/Symfony/Component/String/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ String Component
44
The String component provides an object-oriented API to strings and deals
55
with bytes, UTF-8 code points and grapheme clusters in a unified way.
66

7-
**This component is experimental**.
8-
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
9-
are not covered by Symfony's
10-
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
11-
127
Resources
138
---------
149

src/Symfony/Component/String/Resources/functions.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,11 @@
1111

1212
namespace Symfony\Component\String;
1313

14-
/**
15-
* @experimental in 5.0
16-
*/
1714
function u(string $string = ''): UnicodeString
1815
{
1916
return new UnicodeString($string);
2017
}
2118

22-
/**
23-
* @experimental in 5.0
24-
*/
2519
function b(string $string = ''): ByteString
2620
{
2721
return new ByteString($string);

0 commit comments

Comments
 (0)