Skip to content

Commit 57de84c

Browse files
committed
minor #7324 Do not document deprecated legacy test mechanisms (xabbuh, javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Do not document deprecated legacy test mechanisms see symfony/symfony#21140 Commits ------- c2c680a Fixed a minor typo 6f546aa do not document deprecated legacy test mechanisms
2 parents a120354 + c2c680a commit 57de84c

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

components/phpunit_bridge.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,8 @@ in the **Unsilenced** section of the deprecation report.
9292
Mark Tests as Legacy
9393
--------------------
9494

95-
There are four ways to mark a test as legacy:
96-
97-
* (**Recommended**) Add the ``@group legacy`` annotation to its class or method;
98-
99-
* Make its class name start with the ``Legacy`` prefix;
100-
101-
* Make its method name start with ``testLegacy*()`` instead of ``test*()``;
102-
103-
* Make its data provider start with ``provideLegacy*()`` or ``getLegacy*()``.
95+
Add the ``@group legacy`` annotation to a test class or method to mark it
96+
as legacy.
10497

10598
Configuration
10699
-------------

0 commit comments

Comments
 (0)