UpdateChecker: improve type handling

This commit is contained in:
Dylan K. Taylor
2021-08-20 20:06:09 +01:00
parent e113981750
commit e43d39c0bc
2 changed files with 10 additions and 32 deletions

View File

@ -245,26 +245,6 @@ parameters:
count: 1
path: ../../../src/scheduler/DumpWorkerMemoryTask.php
-
message: "#^Cannot access property \\$date on pocketmine\\\\updater\\\\UpdateInfo\\|null\\.$#"
count: 1
path: ../../../src/updater/UpdateChecker.php
-
message: "#^Cannot access property \\$details_url on pocketmine\\\\updater\\\\UpdateInfo\\|null\\.$#"
count: 1
path: ../../../src/updater/UpdateChecker.php
-
message: "#^Cannot access property \\$download_url on pocketmine\\\\updater\\\\UpdateInfo\\|null\\.$#"
count: 1
path: ../../../src/updater/UpdateChecker.php
-
message: "#^Cannot call method getFullVersion\\(\\) on pocketmine\\\\utils\\\\VersionString\\|null\\.$#"
count: 1
path: ../../../src/updater/UpdateChecker.php
-
message: "#^Method pocketmine\\\\utils\\\\Config\\:\\:fixYAMLIndexes\\(\\) should return string but returns string\\|null\\.$#"
count: 1