mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
load some non-class constants with composer
this makes PHPStan happy and also makes working with PM code externally less of a pain in the ass.
This commit is contained in:
@ -21,6 +21,14 @@
|
||||
|
||||
namespace pocketmine;
|
||||
|
||||
// composer autoload doesn't use require_once and also pthreads can inherit things
|
||||
// TODO: drop this file and use a final class with constants
|
||||
if(defined('pocketmine\_VERSION_INFO_INCLUDED')){
|
||||
return;
|
||||
}
|
||||
const _VERSION_INFO_INCLUDED = true;
|
||||
|
||||
|
||||
const NAME = "PocketMine-MP";
|
||||
const BASE_VERSION = "3.9.8";
|
||||
const IS_DEVELOPMENT_BUILD = true;
|
||||
|
Reference in New Issue
Block a user