mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Move command timings to Timings::
this avoids duplicate timings entries when command labels are changed and changed back, or if multiple command maps are in use. In addition, it also solves some PHPStan issues :)
This commit is contained in:
@ -470,26 +470,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../../src/command/Command.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method startTiming\\(\\) on pocketmine\\\\timings\\\\TimingsHandler\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/command/FormattedCommandAlias.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method stopTiming\\(\\) on pocketmine\\\\timings\\\\TimingsHandler\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/command/FormattedCommandAlias.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method startTiming\\(\\) on pocketmine\\\\timings\\\\TimingsHandler\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/command/SimpleCommandMap.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method stopTiming\\(\\) on pocketmine\\\\timings\\\\TimingsHandler\\|null\\.$#"
|
||||
count: 1
|
||||
path: ../../../src/command/SimpleCommandMap.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method addParticle\\(\\) on pocketmine\\\\world\\\\World\\|null\\.$#"
|
||||
count: 1
|
||||
|
Reference in New Issue
Block a user