phpstan 0.12.53

This commit is contained in:
Dylan K. Taylor 2020-11-03 15:00:56 +00:00
parent d7741050c5
commit b2299e08e0
3 changed files with 8 additions and 13 deletions

View File

@ -38,7 +38,7 @@
"composer-runtime-api": "^2.0" "composer-runtime-api": "^2.0"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "0.12.51", "phpstan/phpstan": "0.12.53",
"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",
"phpunit/phpunit": "^9.2" "phpunit/phpunit": "^9.2"

14
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": "2a0b3c78cf0df3d09592a41a60ecb534", "content-hash": "b44e0d2060a5be0360e24b926121e734",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -1001,16 +1001,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.12.51", "version": "0.12.53",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "b430527cd7b956324bcd554fb85a5e2fd43177d6" "reference": "dbbdb0d7c2434ecd5289f6114d16473e694caa67"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/b430527cd7b956324bcd554fb85a5e2fd43177d6", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dbbdb0d7c2434ecd5289f6114d16473e694caa67",
"reference": "b430527cd7b956324bcd554fb85a5e2fd43177d6", "reference": "dbbdb0d7c2434ecd5289f6114d16473e694caa67",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1041,7 +1041,7 @@
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan/issues", "issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/0.12.51" "source": "https://github.com/phpstan/phpstan/tree/0.12.53"
}, },
"funding": [ "funding": [
{ {
@ -1057,7 +1057,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-10-23T11:58:04+00:00" "time": "2020-11-01T14:51:50+00:00"
}, },
{ {
"name": "phpstan/phpstan-phpunit", "name": "phpstan/phpstan-phpunit",

View File

@ -60,11 +60,6 @@ parameters:
count: 2 count: 2
path: ../../../src/pocketmine/level/Level.php path: ../../../src/pocketmine/level/Level.php
-
message: "#^Call to function assert\\(\\) with bool will always evaluate to true\\.$#"
count: 1
path: ../../../src/pocketmine/level/Level.php
- -
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<pocketmine\\\\level\\\\generator\\\\Generator\\> and 'pocketmine\\\\\\\\level\\\\\\\\generator\\\\\\\\Generator' 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