Skip to content

Commit 28b6495

Browse files
soyukafabpot
authored andcommitted
[TypeInfo] mark classes as experimental
1 parent c168c2c commit 28b6495

23 files changed

+48
-1
lines changed

src/Symfony/Component/TypeInfo/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ CHANGELOG
44
7.1
55
---
66

7-
* Add the component
7+
* Add the component as experimental

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @author Mathias Arlaud <[email protected]>
1616
* @author Baptiste Leduc <[email protected]>
17+
*
18+
* @experimental
1719
*/
1820
interface ExceptionInterface extends \Throwable
1921
{

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @author Mathias Arlaud <[email protected]>
1616
* @author Baptiste Leduc <[email protected]>
17+
*
18+
* @experimental
1719
*/
1820
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
1921
{

src/Symfony/Component/TypeInfo/Exception/LogicException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @author Mathias Arlaud <[email protected]>
1616
* @author Baptiste Leduc <[email protected]>
17+
*
18+
* @experimental
1719
*/
1820
class LogicException extends \LogicException implements ExceptionInterface
1921
{

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @author Mathias Arlaud <[email protected]>
1616
* @author Baptiste Leduc <[email protected]>
17+
*
18+
* @experimental
1719
*/
1820
class RuntimeException extends \RuntimeException implements ExceptionInterface
1921
{

src/Symfony/Component/TypeInfo/Exception/UnsupportedException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @author Mathias Arlaud <[email protected]>
1616
* @author Baptiste Leduc <[email protected]>
17+
*
18+
* @experimental
1719
*/
1820
class UnsupportedException extends \LogicException implements ExceptionInterface
1921
{

src/Symfony/Component/TypeInfo/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ TypeInfo Component
33

44
The TypeInfo component extracts PHP types information.
55

6+
**This Component is experimental**.
7+
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
8+
are not covered by Symfony's
9+
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
10+
611
Getting Started
712
---------------
813

src/Symfony/Component/TypeInfo/Type.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* @author Mathias Arlaud <[email protected]>
1919
* @author Baptiste Leduc <[email protected]>
20+
*
21+
* @experimental
2022
*/
2123
abstract class Type implements \Stringable
2224
{

src/Symfony/Component/TypeInfo/Type/BackedEnumType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* @template U of BuiltinType<TypeIdentifier::INT>|BuiltinType<TypeIdentifier::STRING>
2222
*
2323
* @extends EnumType<T>
24+
*
25+
* @experimental
2426
*/
2527
final class BackedEnumType extends EnumType
2628
{

src/Symfony/Component/TypeInfo/Type/BuiltinType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* @author Baptiste Leduc <[email protected]>
2121
*
2222
* @template T of TypeIdentifier
23+
*
24+
* @experimental
2325
*/
2426
final class BuiltinType extends Type
2527
{

0 commit comments

Comments
 (0)