phpstan: update split configs for master branch

This commit is contained in:
Dylan K. Taylor 2019-12-03 12:08:56 +00:00
parent 5f9ce78814
commit 54c2778e56
2 changed files with 17 additions and 4 deletions

View File

@ -3,10 +3,19 @@ parameters:
-
message: "#^Instantiated class COM not found\\.$#"
count: 2
path: src/pocketmine/network/upnp/UPnP.php
path: src/network/upnp/UPnP.php
-
message: "#^Access to property \\$StaticPortMappingCollection on an unknown class COM\\.$#"
count: 4
path: src/pocketmine/network/upnp/UPnP.php
path: src/network/upnp/UPnP.php
-
message: "#^Caught class com_exception not found\\.$#"
count: 2
path: src/network/upnp/UPnP.php
-
message: "#^Call to method getMessage\\(\\) on an unknown class com_exception\\.$#"
count: 1
path: src/network/upnp/UPnP.php

View File

@ -2,9 +2,13 @@ parameters:
ignoreErrors:
-
message: "#^PHPDoc tag @param has invalid value \\(.+\\)\\: Unexpected token \"&\", expected TOKEN_VARIABLE at offset \\d+$#"
path: src/pocketmine
path: src
-
message: "#^Default value of the parameter \\#\\d+ \\$[A-Za-z\\d_]+ \\(\\-?\\d+\\) of method .+\\(\\) is incompatible with type float\\.$#"
path: src/pocketmine
path: src
-
message: "#^Call to method count\\(\\) on an unknown class _HumbugBoxbfaeed0746fa\\\\Ds\\\\Deque\\.$#"
count: 1
path: src/block/Banner.php