diff --git a/composer.json b/composer.json index 026a460e..d852de90 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "ergebnis/phpstan-rules": "~0.15.2", "infection/infection": "~0.15.3", "phpstan/extension-installer": "^1.0.5", - "phpstan/phpstan": "~0.12.50", + "phpstan/phpstan": "~0.12.52", "phpstan/phpstan-deprecation-rules": "~0.12.5", "phpstan/phpstan-phpunit": "~0.12.16", "phpstan/phpstan-strict-rules": "~0.12.5", diff --git a/composer.lock b/composer.lock index ca811f8d..e9791e95 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": "24f320a53a6b94ae21530d97e66fb800", + "content-hash": "94b3297be5cf9f35ef8810daaa57a2e5", "packages": [ { "name": "ergebnis/classy", @@ -2197,16 +2197,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.50", + "version": "0.12.52", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b8248f9c81265af75d6d969ca3252aaf3e998f3a" + "reference": "e96dd5e7ae9aefed663bc7e285ad96792b67eadc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b8248f9c81265af75d6d969ca3252aaf3e998f3a", - "reference": "b8248f9c81265af75d6d969ca3252aaf3e998f3a", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e96dd5e7ae9aefed663bc7e285ad96792b67eadc", + "reference": "e96dd5e7ae9aefed663bc7e285ad96792b67eadc", "shasum": "" }, "require": { @@ -2249,7 +2249,7 @@ "type": "tidelift" } ], - "time": "2020-10-16T12:22:23+00:00" + "time": "2020-10-25T07:23:44+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e4177347..54ee9e5a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1600,6 +1600,11 @@ parameters: count: 1 path: test/Unit/HelperTest.php + - + message: "#^Call to function iterator_to_array\\(\\) on a separate line has no effect\\.$#" + count: 5 + path: test/Unit/HelperTest.php + - message: "#^Method Ergebnis\\\\Test\\\\Util\\\\Test\\\\Util\\\\DataProvider\\\\Specification\\\\Closure\\:\\:isSatisfiedBy\\(\\) has parameter \\$value with no typehint specified\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ac1dbda2..ed176990 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + \Generator<string, array{0: bool}>