Skip to content

Commit

Permalink
feature #35624 [String] Remove the @experimental status (fancyweb)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fabpot committed Feb 7, 2020
2 parents 4e659ca + 3d15f91 commit 31da954
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 34 deletions.
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/AbstractString.php
Expand Up @@ -26,8 +26,6 @@
* @author Hugo Hamon <hugohamon@neuf.fr>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
abstract class AbstractString implements \JsonSerializable
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/AbstractUnicodeString.php
Expand Up @@ -25,8 +25,6 @@
* @author Nicolas Grekas <p@tchwork.com>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
abstract class AbstractUnicodeString extends AbstractString
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/ByteString.php
Expand Up @@ -22,8 +22,6 @@
* @author Hugo Hamon <hugohamon@neuf.fr>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
class ByteString extends AbstractString
{
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Component/String/CHANGELOG.md
Expand Up @@ -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
-----
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/CodePointString.php
Expand Up @@ -21,8 +21,6 @@
* @author Hugo Hamon <hugohamon@neuf.fr>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
class CodePointString extends AbstractUnicodeString
{
Expand Down
3 changes: 0 additions & 3 deletions src/Symfony/Component/String/Exception/ExceptionInterface.php
Expand Up @@ -11,9 +11,6 @@

namespace Symfony\Component\String\Exception;

/**
* @experimental in 5.0
*/
interface ExceptionInterface extends \Throwable
{
}
Expand Up @@ -11,9 +11,6 @@

namespace Symfony\Component\String\Exception;

/**
* @experimental in 5.0
*/
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
3 changes: 0 additions & 3 deletions src/Symfony/Component/String/Exception/RuntimeException.php
Expand Up @@ -11,9 +11,6 @@

namespace Symfony\Component\String\Exception;

/**
* @experimental in 5.0
*/
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}
5 changes: 0 additions & 5 deletions src/Symfony/Component/String/README.md
Expand Up @@ -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
---------

Expand Down
6 changes: 0 additions & 6 deletions src/Symfony/Component/String/Resources/functions.php
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/Slugger/AsciiSlugger.php
Expand Up @@ -17,8 +17,6 @@

/**
* @author Titouan Galopin <galopintitouan@gmail.com>
*
* @experimental in 5.0
*/
class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/Slugger/SluggerInterface.php
Expand Up @@ -17,8 +17,6 @@
* Creates a URL-friendly slug from a given string.
*
* @author Titouan Galopin <galopintitouan@gmail.com>
*
* @experimental in 5.0
*/
interface SluggerInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/String/UnicodeString.php
Expand Up @@ -29,8 +29,6 @@
* @author Hugo Hamon <hugohamon@neuf.fr>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
class UnicodeString extends AbstractUnicodeString
{
Expand Down

0 comments on commit 31da954

Please sign in to comment.