8000 feature #35624 [String] Remove the @experimental status (fancyweb) · symfony/symfony@31da954 · GitHub
[go: up one dir, main page]

Skip to content

Commit 31da954

Browse files
committed
feature #35624 [String] Remove the @experimental status (fancyweb)
This PR was merged into the 5.1-dev branch. Discussion ---------- [String] Remove the @experimental status | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | #35578 (comment) | License | MIT | Doc PR | - Commits ------- 3d15f91 [String] Remove the @experimental status
2 parents 4e659ca + 3d15f91 commit 31da954

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 <hugohamon@neuf.fr>
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 <p@tchwork.com>
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 <hugohamon@neuf.fr>
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 <hugohamon@neuf.fr>
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);

src/Symfony/Component/String/Slugger/AsciiSlugger.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
/**
1919
* @author Titouan Galopin <galopintitouan@gmail.com>
20-
*
21-
* @experimental in 5.0
2220
*/
2321
class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
2422
{

src/Symfony/Component/String/Slugger/SluggerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
* Creates a URL-friendly slug from a given string.
1818
*
1919
* @author Titouan Galopin <galopintitouan@gmail.com>
20-
*
21-
* @experimental in 5.0
2220
*/
2321
interface SluggerInterface
2422
{

src/Symfony/Component/String/UnicodeString.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
* @author Hugo Hamon <hugohamon@neuf.fr>
3030
*
3131
* @throws ExceptionInterface
32-
*
33-
* @experimental in 5.0
3432
*/
3533
class UnicodeString extends AbstractUnicodeString
3634
{

0 commit comments

Comments
 (0)
0