phpstan 0.12.19

This commit is contained in:
Dylan K. Taylor 2020-04-26 00:08:41 +01:00
parent d9b0e373bb
commit b63ad032a9
3 changed files with 29 additions and 11 deletions

View File

@ -37,7 +37,7 @@
"adhocore/json-comment": "^0.1.0" "adhocore/json-comment": "^0.1.0"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^0.12.14", "phpstan/phpstan": "^0.12.19",
"irstea/phpunit-shim": "^8.5", "irstea/phpunit-shim": "^8.5",
"phpstan/phpstan-phpunit": "^0.12.6", "phpstan/phpstan-phpunit": "^0.12.6",
"phpstan/phpstan-strict-rules": "^0.12.2" "phpstan/phpstan-strict-rules": "^0.12.2"

32
composer.lock generated
View File

@ -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": "6870d7b85559a32e2929692e0a0da169", "content-hash": "b4bca488450ecd2c1d67fef301daec57",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -478,21 +478,24 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.12.18", "version": "0.12.19",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "1ce27fe29c8660a27926127d350d53d80c4d4286" "reference": "054f6d76b12ba9a6c13a5a8d5fcdf51219615f4d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/1ce27fe29c8660a27926127d350d53d80c4d4286", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/054f6d76b12ba9a6c13a5a8d5fcdf51219615f4d",
"reference": "1ce27fe29c8660a27926127d350d53d80c4d4286", "reference": "054f6d76b12ba9a6c13a5a8d5fcdf51219615f4d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1" "php": "^7.1"
}, },
"conflict": {
"phpstan/phpstan-shim": "*"
},
"bin": [ "bin": [
"phpstan", "phpstan",
"phpstan.phar" "phpstan.phar"
@ -513,7 +516,21 @@
"MIT" "MIT"
], ],
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"time": "2020-03-22T16:51:47+00:00" "funding": [
{
"url": "https://github.com/ondrejmirtes",
"type": "github"
},
{
"url": "https://www.patreon.com/phpstan",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
"type": "tidelift"
}
],
"time": "2020-04-19T20:35:10+00:00"
}, },
{ {
"name": "phpstan/phpstan-phpunit", "name": "phpstan/phpstan-phpunit",
@ -649,5 +666,6 @@
"ext-zip": "*", "ext-zip": "*",
"ext-zlib": ">=1.2.11" "ext-zlib": ">=1.2.11"
}, },
"platform-dev": [] "platform-dev": [],
"plugin-api-version": "1.1.0"
} }

View File

@ -1,7 +1,7 @@
parameters: parameters:
ignoreErrors: ignoreErrors:
- -
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\level\\\\generator\\\\Generator\\> and 'pocketmine\\\\\\\\level' will always evaluate to true\\.$#" message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\level\\\\generator\\\\Generator\\> and 'pocketmine\\\\\\\\level\\\\\\\\generator\\\\\\\\Generator' will always evaluate to true\\.$#"
count: 1 count: 1
path: ../../../src/pocketmine/Server.php path: ../../../src/pocketmine/Server.php
@ -66,7 +66,7 @@ parameters:
path: ../../../src/pocketmine/level/Level.php path: ../../../src/pocketmine/level/Level.php
- -
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\level\\\\generator\\\\Generator\\> and 'pocketmine\\\\\\\\level' will always evaluate to true\\.$#" message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\level\\\\generator\\\\Generator\\> and 'pocketmine\\\\\\\\level\\\\\\\\generator\\\\\\\\Generator' will always evaluate to true\\.$#"
count: 1 count: 1
path: ../../../src/pocketmine/level/generator/GeneratorManager.php path: ../../../src/pocketmine/level/generator/GeneratorManager.php
@ -76,7 +76,7 @@ parameters:
path: ../../../src/pocketmine/plugin/PluginManager.php path: ../../../src/pocketmine/plugin/PluginManager.php
- -
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\event\\\\Event\\> and 'pocketmine\\\\\\\\event' will always evaluate to true\\.$#" message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\event\\\\Event\\> and 'pocketmine\\\\\\\\event\\\\\\\\Event' will always evaluate to true\\.$#"
count: 1 count: 1
path: ../../../src/pocketmine/plugin/PluginManager.php path: ../../../src/pocketmine/plugin/PluginManager.php