includes: - tests/phpstan/configs/optional-com-dotnet.neon - tests/phpstan/configs/phpstan-bugs.neon - tests/phpstan/configs/pthreads-bugs.neon parameters: level: 2 autoload_files: - tests/phpstan/bootstrap.php - src/PocketMine.php paths: - src reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings ignoreErrors: - message: "#^Function parallel\\\\bootstrap not found\\.$#" count: 1 path: src/PocketMine.php - message: "#^pocketmine\\\\inventory\\\\DoubleChestInventory\\:\\:__construct\\(\\) does not call parent constructor from pocketmine\\\\inventory\\\\ChestInventory\\.$#" count: 1 path: src/inventory/DoubleChestInventory.php - message: "#^Used constant pocketmine\\\\RESOURCE_PATH not found\\.$#" count: 1 path: src/network/mcpe/protocol/StartGamePacket.php - message: "#^Constant pocketmine\\\\COMPOSER_AUTOLOADER_PATH not found\\.$#" path: src - message: "#^Constant pocketmine\\\\GIT_COMMIT not found\\.$#" path: src - message: "#^Constant pocketmine\\\\PATH not found\\.$#" path: src - message: "#^Constant pocketmine\\\\PLUGIN_PATH not found\\.$#" path: src - message: "#^Constant pocketmine\\\\RESOURCE_PATH not found\\.$#" path: src - message: "#^Constant pocketmine\\\\VERSION not found\\.$#" path: src - message: "#^Call to an undefined method pocketmine\\\\command\\\\CommandSender\\:\\:teleport\\(\\)\\.$#" count: 1 path: src/command/defaults/TeleportCommand.php comment: "not actually possible, but high cost to fix warning"