Remove VERSION and GIT_COMMIT constants

these are now lazily computed in VersionInfo as needed.
This commit is contained in:
Dylan K. Taylor
2020-07-25 19:17:33 +01:00
parent 2645b19617
commit 2c29634d03
10 changed files with 51 additions and 35 deletions

View File

@ -30,11 +30,6 @@ parameters:
count: 7
path: ../../../src/MemoryManager.php
-
message: "#^Cannot access offset 'git' on mixed\\.$#"
count: 2
path: ../../../src/PocketMine.php
-
message: "#^Cannot cast mixed to int\\.$#"
count: 6
@ -90,6 +85,11 @@ parameters:
count: 1
path: ../../../src/ServerConfigGroup.php
-
message: "#^Cannot access offset 'git' on mixed\\.$#"
count: 2
path: ../../../src/VersionInfo.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1