From 46d40b86a4bcfc6e185b13d3d5bff642fbe64c54 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 12 Oct 2023 14:15:41 +0200 Subject: [PATCH] Update to PHPStan 1.10 --- composer.json | 4 ++-- src/V1/Factory.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a75d1b2..81629f7 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", - "phpstan/phpstan": "^0.12.99", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9" }, "autoload": { @@ -31,7 +31,7 @@ } }, "scripts": { - "phpstan": "phpstan analyze --memory-limit 512M analyze src --level 8", + "phpstan": "phpstan analyze src --memory-limit 512M --level 8", "phpunit": "phpunit" }, "config": { diff --git a/src/V1/Factory.php b/src/V1/Factory.php index 311e394..1aa780d 100644 --- a/src/V1/Factory.php +++ b/src/V1/Factory.php @@ -54,7 +54,7 @@ final class Factory implements FactoryInterface ]; /** - * @param array $overload specs to be overloaded with custom classes + * @param array $overload specs to be overloaded with custom classes */ public function __construct(array $overload = []) {