mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 12:48:32 +00:00
Merge branch 'legacy/pm4' into stable
This commit is contained in:
commit
d138a15a32
@ -52,7 +52,7 @@
|
|||||||
"symfony/filesystem": "~6.3.0"
|
"symfony/filesystem": "~6.3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "1.10.16",
|
"phpstan/phpstan": "1.10.35",
|
||||||
"phpstan/phpstan-phpunit": "^1.1.0",
|
"phpstan/phpstan-phpunit": "^1.1.0",
|
||||||
"phpstan/phpstan-strict-rules": "^1.2.0",
|
"phpstan/phpstan-strict-rules": "^1.2.0",
|
||||||
"phpunit/phpunit": "^10.1"
|
"phpunit/phpunit": "^10.1"
|
||||||
|
12
composer.lock
generated
12
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "5249e8bab61f885ce205fda0fc7e9aa9",
|
"content-hash": "2028bfaf32594237de07fc60f68df728",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/json-comment",
|
"name": "adhocore/json-comment",
|
||||||
@ -1378,16 +1378,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan",
|
"name": "phpstan/phpstan",
|
||||||
"version": "1.10.16",
|
"version": "1.10.35",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpstan/phpstan.git",
|
"url": "https://github.com/phpstan/phpstan.git",
|
||||||
"reference": "352bdbb960bb523e3d71b834862589f910921c23"
|
"reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/352bdbb960bb523e3d71b834862589f910921c23",
|
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e730e5facb75ffe09dfb229795e8c01a459f26c3",
|
||||||
"reference": "352bdbb960bb523e3d71b834862589f910921c23",
|
"reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1436,7 +1436,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-06-05T08:21:46+00:00"
|
"time": "2023-09-19T15:27:56+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan-phpunit",
|
"name": "phpstan/phpstan-phpunit",
|
||||||
|
@ -360,7 +360,7 @@ class MemoryManager{
|
|||||||
'_SESSION' => true
|
'_SESSION' => true
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach(Utils::stringifyKeys($GLOBALS) as $varName => $value){
|
foreach($GLOBALS as $varName => $value){
|
||||||
if(isset($ignoredGlobals[$varName])){
|
if(isset($ignoredGlobals[$varName])){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1200,16 +1200,6 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../phpunit/block/regenerate_consistency_check.php
|
path: ../../phpunit/block/regenerate_consistency_check.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Property pocketmine\\\\event\\\\HandlerListManagerTest\\:\\:\\$isValidFunc \\(Closure\\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\)\\: bool\\) does not accept Closure\\|null\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../phpunit/event/HandlerListManagerTest.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Property pocketmine\\\\event\\\\HandlerListManagerTest\\:\\:\\$resolveParentFunc \\(Closure\\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\)\\: \\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\|null\\)\\) does not accept Closure\\|null\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../phpunit/event/HandlerListManagerTest.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Parameter \\#1 \\$logFile of class pocketmine\\\\utils\\\\MainLogger constructor expects string, string\\|false given\\.$#"
|
message: "#^Parameter \\#1 \\$logFile of class pocketmine\\\\utils\\\\MainLogger constructor expects string, string\\|false given\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
parameters:
|
parameters:
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
-
|
-
|
||||||
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\handler\\\\StupidJsonDecodeTest\\:\\:\\$stupidJsonDecodeFunc \\(Closure\\(string, bool\\=\\)\\: mixed\\) does not accept Closure\\|null\\.$#"
|
message: "#^Property pocketmine\\\\event\\\\HandlerListManagerTest\\:\\:\\$isValidFunc \\(Closure\\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\)\\: bool\\) does not accept Closure\\|null\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
path: ../../phpunit/network/mcpe/handler/StupidJsonDecodeTest.php
|
path: ../../phpunit/event/HandlerListManagerTest.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Property pocketmine\\\\event\\\\HandlerListManagerTest\\:\\:\\$resolveParentFunc \\(Closure\\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\)\\: \\(ReflectionClass\\<pocketmine\\\\event\\\\Event\\>\\|null\\)\\) does not accept Closure\\|null\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../phpunit/event/HandlerListManagerTest.php
|
||||||
|
@ -5,11 +5,26 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/block/BaseBanner.php
|
path: ../../../src/block/BaseBanner.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Method pocketmine\\\\block\\\\CakeWithCandle\\:\\:onInteractCandle\\(\\) has parameter \\$returnedItems with no value type specified in iterable type array\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/block/CakeWithCandle.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Method pocketmine\\\\block\\\\DoubleTallGrass\\:\\:traitGetDropsForIncompatibleTool\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/block/DoubleTallGrass.php
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Call to function assert\\(\\) with false and 'unknown hit type' will always evaluate to false\\.$#"
|
message: "#^Call to function assert\\(\\) with false and 'unknown hit type' will always evaluate to false\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/entity/projectile/Projectile.php
|
path: ../../../src/entity/projectile/Projectile.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Match arm comparison between 1\\|2\\|3\\|4 and 0 is always false\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/network/mcpe/handler/InGamePacketHandler.php
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Match arm comparison between 4 and 4 is always true\\.$#"
|
message: "#^Match arm comparison between 4 and 4 is always true\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
@ -35,11 +50,6 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/plugin/PluginManager.php
|
path: ../../../src/plugin/PluginManager.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Static property pocketmine\\\\scheduler\\\\AsyncTask\\:\\:\\$threadLocalStorage \\(ArrayObject\\<int, array\\<string, mixed\\>\\>\\|null\\) does not accept non\\-empty\\-array\\<int, non\\-empty\\-array\\<string, mixed\\>\\>\\|ArrayObject\\<int, array\\<string, mixed\\>\\>\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/scheduler/AsyncTask.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Casting to int something that's already int\\.$#"
|
message: "#^Casting to int something that's already int\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user