From 202ad65e5ea81336a9ea3a9858e5c66f67a71c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Mon, 21 Mar 2022 12:14:27 +0100 Subject: [PATCH] Upgrade PhpStan to v1 --- composer.json | 12 +++++++----- phpstan.neon | 3 --- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 12f5505..1c21716 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,14 @@ "baraja-core/url": "^1.1" }, "require-dev": { - "phpstan/phpstan": "^0.12.74", "tracy/tracy": "^2.8", - "phpstan/phpstan-nette": "^0.12.14", - "spaze/phpstan-disallowed-calls": "^1.1", - "roave/security-advisories": "dev-master", - "jetbrains/phpstorm-attributes": "^1.0" + "phpstan/phpstan": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-nette": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", + "spaze/phpstan-disallowed-calls": "^2.0", + "roave/security-advisories": "dev-master" }, "autoload": { "classmap": [ diff --git a/phpstan.neon b/phpstan.neon index b6c6752..8e1e921 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,7 +1,4 @@ includes: - - vendor/phpstan/phpstan-nette/extension.neon - - vendor/phpstan/phpstan-nette/rules.neon - - vendor/spaze/phpstan-disallowed-calls/extension.neon - vendor/spaze/phpstan-disallowed-calls/disallowed-dangerous-calls.neon - vendor/spaze/phpstan-disallowed-calls/disallowed-execution-calls.neon