Skip to content

Commit b0cb920

Browse files
committed
Document @runInSeparateProcess to work around bug #68541
1 parent 92f1342 commit b0cb920

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ This library comes with the same restrictions as the underlying
7676
In most cases you can ignore this restriction. But if you happen to run into
7777
this issue you can call [`PHPMock::defineFunctionMock()`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html#_defineFunctionMock)
7878
before that first call (e.g. with `@beforeClass`).
79-
This would define a side effectless namespaced function.
79+
This would define a side effectless namespaced function. Another effective
80+
approach is running your test in an isolated process (e.g. with `@runInSeparateProcess`).
8081

8182
# License and authors
8283

0 commit comments

Comments
 (0)