From 6f546aadcfc0a2cacf32bec9c2811f2723755c04 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 6 Jan 2017 12:42:22 +0100 Subject: [PATCH 1/2] do not document deprecated legacy test mechanisms --- components/phpunit_bridge.rst | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index 3efc9a644ea..d87cec7a6b5 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -74,15 +74,8 @@ in the **Unsilenced** section of the deprecation report. Mark Tests as Legacy -------------------- -There are four ways to mark a test as legacy: - -* (**Recommended**) Add the ``@group legacy`` annotation to its class or method; - -* Make its class name start with the ``Legacy`` prefix; - -* Make its method name start with ``testLegacy*()`` instead of ``test*()``; - -* Make its data provider start with ``provideLegacy*()`` or ``getLegacy*()``. +Add the ``@group legacy`` annotation to a test class or methodto mark it +as legacy. Configuration ------------- From c2c680ac1f832c9ec054858cd2cda15277114150 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 8 Jan 2017 16:58:55 +0100 Subject: [PATCH 2/2] Fixed a minor typo --- components/phpunit_bridge.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index d87cec7a6b5..b7debbebdef 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -74,7 +74,7 @@ in the **Unsilenced** section of the deprecation report. Mark Tests as Legacy -------------------- -Add the ``@group legacy`` annotation to a test class or methodto mark it +Add the ``@group legacy`` annotation to a test class or method to mark it as legacy. Configuration