From d6bce9e847e806bfaa7cf3c48442b2385458dc97 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Fri, 26 Jun 2020 19:06:07 -0700 Subject: [PATCH] Update PHPStan to 0.12.31 --- composer.json | 2 +- composer.lock | 12 ++++++------ phpstan.neon.dist | 3 --- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 9c16990a4bd..788eb406c00 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "doctrine/coding-standard": "^7.0", "jetbrains/phpstorm-stubs": "^2019.1", "nikic/php-parser": "^4.4", - "phpstan/phpstan": "^0.12.30", + "phpstan/phpstan": "^0.12.31", "phpunit/phpunit": "^8.5.5", "psalm/plugin-phpunit": "^0.10.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", diff --git a/composer.lock b/composer.lock index 031cc19a8df..17dccc6ed49 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": "f636004536741040e603f9f76802dc11", + "content-hash": "dec9fb0cafafeca81a6e257452a8d7e2", "packages": [ { "name": "doctrine/cache", @@ -1349,16 +1349,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.30", + "version": "0.12.31", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "1f2c16d3fbb5eec6e55fbe2358e32570cefa20e5" + "reference": "776c8056b401e1b67f277b9e9fb334d1a274671d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1f2c16d3fbb5eec6e55fbe2358e32570cefa20e5", - "reference": "1f2c16d3fbb5eec6e55fbe2358e32570cefa20e5", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/776c8056b401e1b67f277b9e9fb334d1a274671d", + "reference": "776c8056b401e1b67f277b9e9fb334d1a274671d", "shasum": "" }, "require": { @@ -1401,7 +1401,7 @@ "type": "tidelift" } ], - "time": "2020-06-21T14:08:19+00:00" + "time": "2020-06-24T20:55:29+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 74c2444e63e..919c6b92ba9 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -42,9 +42,6 @@ parameters: # weird class name, represented in stubs as OCI_(Lob|Collection) - '~unknown class OCI-(Lob|Collection)~' - # https://github.com/phpstan/phpstan-src/pull/255 - - '~^Method Doctrine\\DBAL\\Driver\\Mysqli\\MysqliStatement::_fetch\(\) never returns null so it can be removed from the return typehint\.$~' - # The ReflectionException in the case when the class does not exist is acceptable and does not need to be handled - '~^Parameter #1 \$argument of class ReflectionClass constructor expects class-string\|T of object, string given\.$~'