phpstan: allow blanket ignoreErrors in src to reduce merge work for master

This commit is contained in:
Dylan K. Taylor 2019-12-04 19:42:18 +00:00
parent 9fc260fb1a
commit c35d91a104
2 changed files with 10 additions and 10 deletions

View File

@ -46,33 +46,33 @@ parameters:
-
message: "#^Constant pocketmine\\\\COMPOSER_AUTOLOADER_PATH not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\DATA not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\GIT_COMMIT not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\PATH not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\PLUGIN_PATH not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\RESOURCE_PATH not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\START_TIME not found\\.$#"
path: src/pocketmine
path: src
-
message: "#^Constant pocketmine\\\\VERSION not found\\.$#"
path: src/pocketmine
path: src

View File

@ -2,9 +2,9 @@ parameters:
ignoreErrors:
-
message: "#^PHPDoc tag @param has invalid value \\(.+\\)\\: Unexpected token \"&\", expected 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