Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[String] Remove the @experimental status #35624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions 2 src/Symfony/Component/String/AbstractString.php
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/AbstractUnicodeString.php
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/ByteString.php
Original file line number Diff line number Diff line change
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 1 src/Symfony/Component/String/CHANGELOG.md
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/CodePointString.php
Original file line number Diff line number Diff line change
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 3 src/Symfony/Component/String/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

namespace Symfony\Component\String\Exception;

/**
* @experimental in 5.0
*/
interface ExceptionInterface extends \Throwable
{
}
Original file line number Diff line number Diff line change
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 3 src/Symfony/Component/String/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
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 5 src/Symfony/Component/String/README.md
Original file line number Diff line number Diff line change
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 6 src/Symfony/Component/String/Resources/functions.php
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/Slugger/AsciiSlugger.php
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/Slugger/SluggerInterface.php
Original file line number Diff line number Diff line change
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 2 src/Symfony/Component/String/UnicodeString.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
* @author Hugo Hamon <hugohamon@neuf.fr>
*
* @throws ExceptionInterface
*
* @experimental in 5.0
*/
class UnicodeString extends AbstractUnicodeString
{
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.