From 2b0caabc7da42b25cb35dedd8a2588d0d0a0677f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 30 Jun 2026 18:13:41 +0200 Subject: [PATCH] Try to complete stubs --- dev/tools/phan/stubs/phpunit.phan_php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev/tools/phan/stubs/phpunit.phan_php b/dev/tools/phan/stubs/phpunit.phan_php index 6932f3090e9..8ff4b06e100 100644 --- a/dev/tools/phan/stubs/phpunit.phan_php +++ b/dev/tools/phan/stubs/phpunit.phan_php @@ -24,3 +24,13 @@ class TestCase { { } } + +class CommonClassTest { + public static function assertEquals($expected, $actual, string $message = '') : void {} + public static function assertTrue($condition, string $message = '') : void {} + public static function assertNotNull($actual, string $message = '') : void {} + public static function assertFileExists(string $filename, string $message = '') : void {} + public static function assertGreaterThan($expected, $actual, string $message = '') : void {} + public static function assertGreaterThanOrEqual($expected, $actual, string $message = '') : void {} + public static function assertNotFalse($actual, string $message = '') : void {} +}