mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Merge branch 'next-minor'
This commit is contained in:
12
tests/phpstan/configs/optional-com-dotnet.neon
Normal file
12
tests/phpstan/configs/optional-com-dotnet.neon
Normal file
@ -0,0 +1,12 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^Instantiated class COM not found\\.$#"
|
||||
count: 2
|
||||
path: src/pocketmine/network/upnp/UPnP.php
|
||||
|
||||
-
|
||||
message: "#^Access to property \\$StaticPortMappingCollection on an unknown class COM\\.$#"
|
||||
count: 4
|
||||
path: src/pocketmine/network/upnp/UPnP.php
|
||||
|
||||
10
tests/phpstan/configs/phpstan-bugs.neon
Normal file
10
tests/phpstan/configs/phpstan-bugs.neon
Normal file
@ -0,0 +1,10 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^PHPDoc tag @param has invalid value \\(.+\\)\\: Unexpected token \"&\", expected TOKEN_VARIABLE at offset \\d+$#"
|
||||
path: src/pocketmine
|
||||
|
||||
-
|
||||
message: "#^Default value of the parameter \\#\\d+ \\$[A-Za-z\\d_]+ \\(\\-?\\d+\\) of method .+\\(\\) is incompatible with type float\\.$#"
|
||||
path: src/pocketmine
|
||||
|
||||
6
tests/phpstan/configs/pthreads-bugs.neon
Normal file
6
tests/phpstan/configs/pthreads-bugs.neon
Normal file
@ -0,0 +1,6 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^Variable \\$GLOBALS in isset\\(\\) always exists and is not nullable\\.$#"
|
||||
path: src/MemoryManager.php
|
||||
|
||||
Reference in New Issue
Block a user