From 6e2f2f1c1e98ecd86aa89c6547beb742d7385d18 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 11 May 2023 13:02:04 +0200 Subject: A few additional PHPStan rules (#5388) A subset of https://github.com/phpstan/phpstan-strict-rules --- tests/lib/CssXPath/CssXPathTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/CssXPath/CssXPathTest.php') diff --git a/tests/lib/CssXPath/CssXPathTest.php b/tests/lib/CssXPath/CssXPathTest.php index 8d5a943ec..1cfbcf58f 100644 --- a/tests/lib/CssXPath/CssXPathTest.php +++ b/tests/lib/CssXPath/CssXPathTest.php @@ -3,6 +3,6 @@ class CssXPathTest extends PHPUnit\Framework\TestCase { public function testCssXPathTranslatorClassExists(): void { - $this->assertTrue(class_exists('Gt\\CssXPath\\Translator')); + self::assertTrue(class_exists('Gt\\CssXPath\\Translator')); } } -- cgit v1.2.3