aboutsummaryrefslogtreecommitdiff
path: root/tests/app/Utils
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-11 13:02:04 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-11 13:02:04 +0200
commit6e2f2f1c1e98ecd86aa89c6547beb742d7385d18 (patch)
tree7ba9f5aebb01d12045b9067a86b5060ba13dca18 /tests/app/Utils
parentfe7d9bbcd68660a59b813346c236b61b25a51c80 (diff)
A few additional PHPStan rules (#5388)
A subset of https://github.com/phpstan/phpstan-strict-rules
Diffstat (limited to 'tests/app/Utils')
-rw-r--r--tests/app/Utils/passwordUtilTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/app/Utils/passwordUtilTest.php b/tests/app/Utils/passwordUtilTest.php
index 113476c63..e2fe78b97 100644
--- a/tests/app/Utils/passwordUtilTest.php
+++ b/tests/app/Utils/passwordUtilTest.php
@@ -6,7 +6,7 @@ class passwordUtilTest extends PHPUnit\Framework\TestCase {
$ok = FreshRSS_password_Util::check($password);
- $this->assertTrue($ok);
+ self::assertTrue($ok);
}
public function testCheckReturnsFalseIfEmpty(): void {
@@ -14,7 +14,7 @@ class passwordUtilTest extends PHPUnit\Framework\TestCase {
$ok = FreshRSS_password_Util::check($password);
- $this->assertFalse($ok);
+ self::assertFalse($ok);
}
public function testCheckReturnsFalseIfLessThan7Characters(): void {
@@ -22,6 +22,6 @@ class passwordUtilTest extends PHPUnit\Framework\TestCase {
$ok = FreshRSS_password_Util::check($password);
- $this->assertFalse($ok);
+ self::assertFalse($ok);
}
}