You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,8 @@ This library comes with the same restrictions as the underlying
76
76
In most cases you can ignore this restriction. But if you happen to run into
77
77
this issue you can call [`PHPMock::defineFunctionMock()`](http://php-mock.github.io/php-mock-phpunit/api/class-phpmock.phpunit.PHPMock.html#_defineFunctionMock)
78
78
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`).
0 commit comments