Skip to content

Commit cafabc2

Browse files
GuilhemNnicolas-grekas
authored andcommitted
[Debug] Trigger a deprecation when using an internal class/trait/interface
1 parent b3a9ba4 commit cafabc2

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Context/ExecutionContext.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
*
3131
* @see ExecutionContextInterface
3232
*
33-
* @internal You should not instantiate or use this class. Code against
34-
* {@link ExecutionContextInterface} instead.
33+
* @internal since version 2.5. Code against ExecutionContextInterface instead.
3534
*/
3635
class ExecutionContext implements ExecutionContextInterface
3736
{

Context/ExecutionContextFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
*
2020
* @author Bernhard Schussek <[email protected]>
2121
*
22-
* @internal You should not instantiate or use this class. Code against
23-
* {@link ExecutionContextFactoryInterface} instead.
22+
* @internal version 2.5. Code against ExecutionContextFactoryInterface instead.
2423
*/
2524
class ExecutionContextFactory implements ExecutionContextFactoryInterface
2625
{

Violation/ConstraintViolationBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
*
2323
* @author Bernhard Schussek <[email protected]>
2424
*
25-
* @internal You should not instantiate or use this class. Code against
26-
* {@link ConstraintViolationBuilderInterface} instead.
25+
* @internal since version 2.5. Code against ConstraintViolationBuilderInterface instead.
2726
*/
2827
class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface
2928
{

0 commit comments

Comments
 (0)