Skip to content

Commit 67d5d94

Browse files
authored
Merge pull request #8881 from kenjis/docs-update-runInSeparateProcess-notes
docs: update notes for `@runInSeparateProcess`
2 parents 7365e09 + 2a51e70 commit 67d5d94

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

user_guide_src/source/testing/overview.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,12 @@ Ensure that a header or cookie was actually emitted:
164164

165165
.. literalinclude:: overview/009.php
166166

167-
.. note:: the test case with this should be `run as a separate process
168-
in PHPunit <https://docs.phpunit.de/en/9.6/annotations.html#runinseparateprocess>`_.
167+
.. note:: The test case with this should be run as a separate process
168+
(with `@runInSeparateProcess annotation`_ or `RunInSeparateProcess attribute`_)
169+
in PHPUnit.
170+
171+
.. _@runInSeparateProcess annotation: https://docs.phpunit.de/en/10.5/annotations.html#runinseparateprocess
172+
.. _RunInSeparateProcess attribute: https://docs.phpunit.de/en/10.5/attributes.html#runinseparateprocess
169173

170174
assertHeaderNotEmitted($header, $ignoreCase = false)
171175
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -174,8 +178,9 @@ Ensure that a header or cookie was not emitted:
174178

175179
.. literalinclude:: overview/010.php
176180

177-
.. note:: the test case with this should be `run as a separate process
178-
in PHPunit <https://docs.phpunit.de/en/9.6/annotations.html#runinseparateprocess>`_.
181+
.. note:: The test case with this should be run as a separate process
182+
(with `@runInSeparateProcess annotation`_ or `RunInSeparateProcess attribute`_)
183+
in PHPUnit.
179184

180185
assertCloseEnough($expected, $actual, $message = '', $tolerance = 1)
181186
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)