@@ -153,7 +153,7 @@ public function testGetInfo( string $RawInput, array $ExpectedOutput ) : void
153
153
154
154
$ RealOutput = $ this ->SourceQuery ->GetInfo ();
155
155
156
- $ this -> assertEquals ( $ ExpectedOutput , $ RealOutput );
156
+ self :: assertEquals ( $ ExpectedOutput , $ RealOutput );
157
157
}
158
158
159
159
public static function InfoProvider () : array
@@ -243,10 +243,10 @@ public function testGetChallengeTwice( ) : void
243
243
{
244
244
$ this ->Socket ->Queue ( "\xFF\xFF\xFF\xFF\x41\x11\x11\x11\x11" );
245
245
$ this ->Socket ->Queue ( "\xFF\xFF\xFF\xFF\x45\x01\x00ayy \x00lmao \x00" );
246
- $ this -> assertEquals ( [ 'ayy ' => 'lmao ' ], $ this ->SourceQuery ->GetRules () );
246
+ self :: assertEquals ( [ 'ayy ' => 'lmao ' ], $ this ->SourceQuery ->GetRules () );
247
247
248
248
$ this ->Socket ->Queue ( "\xFF\xFF\xFF\xFF\x45\x01\x00wow \x00much \x00" );
249
- $ this -> assertEquals ( [ 'wow ' => 'much ' ], $ this ->SourceQuery ->GetRules () );
249
+ self :: assertEquals ( [ 'wow ' => 'much ' ], $ this ->SourceQuery ->GetRules () );
250
250
}
251
251
252
252
/**
@@ -264,7 +264,7 @@ public function testGetRules( array $RawInput, array $ExpectedOutput ) : void
264
264
265
265
$ RealOutput = $ this ->SourceQuery ->GetRules ();
266
266
267
- $ this -> assertEquals ( $ ExpectedOutput , $ RealOutput );
267
+ self :: assertEquals ( $ ExpectedOutput , $ RealOutput );
268
268
}
269
269
270
270
public static function RulesProvider () : array
@@ -305,7 +305,7 @@ public function testGetPlayers( array $RawInput, array $ExpectedOutput ) : void
305
305
306
306
$ RealOutput = $ this ->SourceQuery ->GetPlayers ();
307
307
308
- $ this -> assertEquals ( $ ExpectedOutput , $ RealOutput );
308
+ self :: assertEquals ( $ ExpectedOutput , $ RealOutput );
309
309
}
310
310
311
311
public static function PlayersProvider () : array
@@ -334,9 +334,9 @@ public static function PlayersProvider() : array
334
334
public function testPing () : void
335
335
{
336
336
$ this ->Socket ->Queue ( "\xFF\xFF\xFF\xFF\x6A\x00" );
337
- $ this -> assertTrue ( $ this ->SourceQuery ->Ping () );
337
+ self :: assertTrue ( $ this ->SourceQuery ->Ping () );
338
338
339
339
$ this ->Socket ->Queue ( "\xFF\xFF\xFF\xFF\xEE" );
340
- $ this -> assertFalse ( $ this ->SourceQuery ->Ping () );
340
+ self :: assertFalse ( $ this ->SourceQuery ->Ping () );
341
341
}
342
342
}
0 commit comments