1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-05-20 20:48:06 +00:00

CrashDump: use fully qualified reference for GIT_COMMIT constant

this makes it easier to filter out PHPStan noise.
This commit is contained in:
Dylan K. Taylor 2019-10-25 16:08:37 +01:00
parent d1ca779c1a
commit a145e18c1e

@ -333,7 +333,7 @@ class CrashDump{
$this->data["general"]["php_os"] = PHP_OS; $this->data["general"]["php_os"] = PHP_OS;
$this->data["general"]["os"] = Utils::getOS(); $this->data["general"]["os"] = Utils::getOS();
$this->addLine($this->server->getName() . " version: " . $version->getFullVersion(true) . " [Protocol " . ProtocolInfo::CURRENT_PROTOCOL . "]"); $this->addLine($this->server->getName() . " version: " . $version->getFullVersion(true) . " [Protocol " . ProtocolInfo::CURRENT_PROTOCOL . "]");
$this->addLine("Git commit: " . GIT_COMMIT); $this->addLine("Git commit: " . \pocketmine\GIT_COMMIT);
$this->addLine("uname -a: " . php_uname("a")); $this->addLine("uname -a: " . php_uname("a"));
$this->addLine("PHP Version: " . phpversion()); $this->addLine("PHP Version: " . phpversion());
$this->addLine("Zend version: " . zend_version()); $this->addLine("Zend version: " . zend_version());