[tests] phpstan version bump

This commit is contained in:
Shish
2024-01-15 13:53:54 +00:00
parent 8439e696dc
commit 7b7ec9c83f
7 changed files with 8 additions and 2 deletions

View File

@ -67,6 +67,7 @@ if(class_exists("\\PHPUnit\\Framework\\TestCase")) {
if (is_null(User::by_name($name))) {
$userPage = new UserPage();
$userPage->onUserCreation(new UserCreationEvent($name, $name, $name, "$name@$name.com", false));
// @phpstan-ignore-next-line - ???
assert(!is_null(User::by_name($name)), "Creation of user $name failed");
}
}