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 | https://github.com/symfony/symfony/pull/35578#discussion_r375955786
| License | MIT
| Doc PR | -
Commits
-------
3d15f91723
[String] Remove the @experimental status
This commit is contained in:
commit
31da954f9b
@ -26,8 +26,6 @@ use Symfony\Component\String\Exception\RuntimeException;
|
||||
* @author Hugo Hamon <hugohamon@neuf.fr>
|
||||
*
|
||||
* @throws ExceptionInterface
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
abstract class AbstractString implements \JsonSerializable
|
||||
{
|
||||
|
@ -25,8 +25,6 @@ use Symfony\Component\String\Exception\RuntimeException;
|
||||
* @author Nicolas Grekas <p@tchwork.com>
|
||||
*
|
||||
* @throws ExceptionInterface
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
abstract class AbstractUnicodeString extends AbstractString
|
||||
{
|
||||
|
@ -22,8 +22,6 @@ use Symfony\Component\String\Exception\RuntimeException;
|
||||
* @author Hugo Hamon <hugohamon@neuf.fr>
|
||||
*
|
||||
* @throws ExceptionInterface
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class ByteString extends AbstractString
|
||||
{
|
||||
|
@ -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
|
||||
-----
|
||||
|
@ -21,8 +21,6 @@ use Symfony\Component\String\Exception\InvalidArgumentException;
|
||||
* @author Hugo Hamon <hugohamon@neuf.fr>
|
||||
*
|
||||
* @throws ExceptionInterface
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class CodePointString extends AbstractUnicodeString
|
||||
{
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\String\Exception;
|
||||
|
||||
/**
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
interface ExceptionInterface extends \Throwable
|
||||
{
|
||||
}
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\String\Exception;
|
||||
|
||||
/**
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
|
||||
{
|
||||
}
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\String\Exception;
|
||||
|
||||
/**
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class RuntimeException extends \RuntimeException implements ExceptionInterface
|
||||
{
|
||||
}
|
||||
|
@ -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
|
||||
---------
|
||||
|
||||
|
@ -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);
|
||||
|
@ -17,8 +17,6 @@ use Symfony\Contracts\Translation\LocaleAwareInterface;
|
||||
|
||||
/**
|
||||
* @author Titouan Galopin <galopintitouan@gmail.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class AsciiSlugger implements SluggerInterface, LocaleAwareInterface
|
||||
{
|
||||
|
@ -17,8 +17,6 @@ use Symfony\Component\String\AbstractUnicodeString;
|
||||
* Creates a URL-friendly slug from a given string.
|
||||
*
|
||||
* @author Titouan Galopin <galopintitouan@gmail.com>
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
interface SluggerInterface
|
||||
{
|
||||
|
@ -29,8 +29,6 @@ use Symfony\Component\String\Exception\InvalidArgumentException;
|
||||
* @author Hugo Hamon <hugohamon@neuf.fr>
|
||||
*
|
||||
* @throws ExceptionInterface
|
||||
*
|
||||
* @experimental in 5.0
|
||||
*/
|
||||
class UnicodeString extends AbstractUnicodeString
|
||||
{
|
||||
|
Reference in New Issue
Block a user