@@ -29,7 +29,7 @@ public function testLogNumberWithLogFile()
2929 $ var = TestHelper::randomInt ();
3030 dbglog ($ var );
3131
32- $ this -> assertRegExp (
32+ self :: assertRegExp (
3333 TestHelper::makePattern ($ var ),
3434 file_get_contents ($ logfile )
3535 );
@@ -45,7 +45,7 @@ public function testLogStringWithLogFile()
4545 $ var = TestHelper::randomString ();
4646 dbglog ($ var );
4747
48- $ this -> assertRegExp (
48+ self :: assertRegExp (
4949 TestHelper::makePattern ($ var ),
5050 file_get_contents ($ logfile )
5151 );
@@ -62,7 +62,7 @@ public function testLogArrayWithLogFile()
6262 dbglog ($ var );
6363
6464 $ expected = TestHelper::makeArrayOutput ($ var );
65- $ this -> assertRegExp (
65+ self :: assertRegExp (
6666 TestHelper::makePattern ($ expected ),
6767 file_get_contents ($ logfile )
6868 );
@@ -78,7 +78,7 @@ public function testLogWithNoLogFile()
7878 $ var = TestHelper::randomInt ();
7979 dbglog ($ var );
8080
81- $ this -> assertEmpty (file_get_contents ($ logfile ));
81+ self :: assertEmpty (file_get_contents ($ logfile ));
8282 }
8383
8484 public function testLogNumberWithLogger ()
@@ -91,7 +91,7 @@ public function testLogNumberWithLogger()
9191 $ var = TestHelper::randomInt ();
9292 dbglog ($ var );
9393
94- $ this -> assertRegExp (
94+ self :: assertRegExp (
9595 TestHelper::makePattern ($ var ),
9696 file_get_contents ($ logfile )
9797 );
@@ -107,7 +107,7 @@ public function testLogStringWithLogger()
107107 $ var = TestHelper::randomString ();
108108 dbglog ($ var );
109109
110- $ this -> assertRegExp (
110+ self :: assertRegExp (
111111 TestHelper::makePattern ($ var ),
112112 file_get_contents ($ logfile )
113113 );
@@ -125,7 +125,7 @@ public function testLogArrayWithLogger()
125125
126126 $ expected = TestHelper::makeArrayOutput ($ var );
127127
128- $ this -> assertRegExp (
128+ self :: assertRegExp (
129129 TestHelper::makePattern ($ expected ),
130130 file_get_contents ($ logfile )
131131 );
@@ -142,7 +142,7 @@ public function testLogWithLoggerAndCustomDateFormat()
142142 $ var = TestHelper::randomInt ();
143143 dbglog ($ var );
144144
145- $ this -> assertRegExp (
145+ self :: assertRegExp (
146146 TestHelper::makePattern ($ var , $ dateFormat ),
147147 file_get_contents ($ logfile )
148148 );
@@ -158,6 +158,6 @@ public function testLogWithNoLogger()
158158 $ var = TestHelper::randomInt ();
159159 dbglog ($ var );
160160
161- $ this -> assertEmpty (file_get_contents ($ logfile ));
161+ self :: assertEmpty (file_get_contents ($ logfile ));
162162 }
163163}
0 commit comments