From 33e0a1b228fab32c84e778bbf0be7215cd701f0f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 29 Oct 2021 13:56:55 +0300 Subject: [PATCH] phpstan --- composer.json | 3 ++- composer.lock | 68 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 68 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index ae66c52c9e..1fa56c1700 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,8 @@ "johngrogg/ics-parser": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^9" + "phpunit/phpunit": "^9", + "phpstan/phpstan": "^0.12.99" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index a98755d031..aaddb96d23 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": "c931ef8213fea73025690b2d7ca50293", + "content-hash": "a40ca0bb4cc7f016d7c562da54b4f6cc", "packages": [ { "name": "async-aws/core", @@ -5988,6 +5988,70 @@ }, "time": "2020-12-19T10:15:11+00:00" }, + { + "name": "phpstan/phpstan", + "version": "0.12.99", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4d40f1d759942f523be267a1bab6884f46ca3f7", + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7", + "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.99" + }, + "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-12T20:09:55+00:00" + }, { "name": "phpunit/php-code-coverage", "version": "9.2.5", @@ -7576,5 +7640,5 @@ "ext-exif": "*" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" }