From ecb1064d087ab5e5a1fa0a76de1046af5c03aab1 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 6 Sep 2021 18:42:11 +0100 Subject: [PATCH] [DEPENDENCIES] Add PHPStan as a dev dependency --- composer.json | 1 + composer.lock | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++- symfony.lock | 3 +++ 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 796b7ecac8..71e4381270 100644 --- a/composer.json +++ b/composer.json @@ -69,6 +69,7 @@ "friendsofphp/php-cs-fixer": "^2.16", "jchook/phpunit-assert-throws": "^1.0", "niels-de-blaauw/php-doc-check": "^0.2.2", + "phpstan/phpstan": "^0.12.98", "phpunit/phpunit": "^9.5", "symfony/browser-kit": "^5.2", "symfony/css-selector": "^5.2", diff --git a/composer.lock b/composer.lock index 68fbe2bf0b..7abec5ee19 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": "2fb871f61303db4c56f12eed6c61b712", + "content-hash": "be7cf87a37dbc1dee9d92d46889d78c4", "packages": [ { "name": "alchemy/binary-driver", @@ -10845,6 +10845,70 @@ }, "time": "2021-03-17T13:42:18+00:00" }, + { + "name": "phpstan/phpstan", + "version": "0.12.98", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "3bb7cc246c057405dd5e290c3ecc62ab51d57e00" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3bb7cc246c057405dd5e290c3ecc62ab51d57e00", + "reference": "3bb7cc246c057405dd5e290c3ecc62ab51d57e00", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.12-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.98" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpstan", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2021-09-02T12:33:01+00:00" + }, { "name": "phpunit/php-code-coverage", "version": "9.2.6", diff --git a/symfony.lock b/symfony.lock index 259bf008eb..cf1b765386 100644 --- a/symfony.lock +++ b/symfony.lock @@ -250,6 +250,9 @@ "phpspec/prophecy": { "version": "1.13.0" }, + "phpstan/phpstan": { + "version": "0.12.98" + }, "phpunit/php-code-coverage": { "version": "9.2.6" },