diff --git a/composer.json b/composer.json index db9e3899b..25a41634f 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "composer-runtime-api": "^2.0" }, "require-dev": { - "phpstan/phpstan": "0.12.51", + "phpstan/phpstan": "0.12.53", "phpstan/phpstan-phpunit": "^0.12.6", "phpstan/phpstan-strict-rules": "^0.12.2", "phpunit/phpunit": "^9.2" diff --git a/composer.lock b/composer.lock index b83b7cb3e..e72ec5233 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2a0b3c78cf0df3d09592a41a60ecb534", + "content-hash": "b44e0d2060a5be0360e24b926121e734", "packages": [ { "name": "adhocore/json-comment", @@ -1001,16 +1001,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.51", + "version": "0.12.53", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b430527cd7b956324bcd554fb85a5e2fd43177d6" + "reference": "dbbdb0d7c2434ecd5289f6114d16473e694caa67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b430527cd7b956324bcd554fb85a5e2fd43177d6", - "reference": "b430527cd7b956324bcd554fb85a5e2fd43177d6", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dbbdb0d7c2434ecd5289f6114d16473e694caa67", + "reference": "dbbdb0d7c2434ecd5289f6114d16473e694caa67", "shasum": "" }, "require": { @@ -1041,7 +1041,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "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": [ { @@ -1057,7 +1057,7 @@ "type": "tidelift" } ], - "time": "2020-10-23T11:58:04+00:00" + "time": "2020-11-01T14:51:50+00:00" }, { "name": "phpstan/phpstan-phpunit", diff --git a/tests/phpstan/configs/runtime-type-checks.neon b/tests/phpstan/configs/runtime-type-checks.neon index 8ec99fe95..dbf34f84f 100644 --- a/tests/phpstan/configs/runtime-type-checks.neon +++ b/tests/phpstan/configs/runtime-type-checks.neon @@ -60,11 +60,6 @@ parameters: count: 2 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\\ and 'pocketmine\\\\\\\\level\\\\\\\\generator\\\\\\\\Generator' will always evaluate to true\\.$#" count: 1