We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 950a9da + 0937d15 commit f9fe026Copy full SHA for f9fe026
README.md
@@ -50,7 +50,7 @@ class MyLoggerTest extends TestCase {
50
private Buffer $stderr;
51
52
private MyLogger $subject;
53
-
+
54
protected function setUp() : void{
55
StreamFilter::register();
56
$this->stdout = StreamFilter::intercept(STDOUT);
@@ -59,8 +59,8 @@ class MyLoggerTest extends TestCase {
59
}
60
61
protected function tearDown() : void{
62
- StreamFilter::stopIntercepting($this->stdout);
63
- StreamFilter::stopIntercepting($this->stderr);
+ $this->stdout->stopIntercepting();
+ $this->stderr->stopIntercepting();
64
65
66
public function testLogMessageSentToStdOutAndNotStdErr() : void {
0 commit comments