[DEPENDENCIES] Add PHPStan as a dev dependency

This commit is contained in:
Hugo Sales 2021-09-06 18:42:11 +01:00
parent 6ac37bc7fb
commit ecb1064d08
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 69 additions and 1 deletions

View File

@ -69,6 +69,7 @@
"friendsofphp/php-cs-fixer": "^2.16", "friendsofphp/php-cs-fixer": "^2.16",
"jchook/phpunit-assert-throws": "^1.0", "jchook/phpunit-assert-throws": "^1.0",
"niels-de-blaauw/php-doc-check": "^0.2.2", "niels-de-blaauw/php-doc-check": "^0.2.2",
"phpstan/phpstan": "^0.12.98",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"symfony/browser-kit": "^5.2", "symfony/browser-kit": "^5.2",
"symfony/css-selector": "^5.2", "symfony/css-selector": "^5.2",

66
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "2fb871f61303db4c56f12eed6c61b712", "content-hash": "be7cf87a37dbc1dee9d92d46889d78c4",
"packages": [ "packages": [
{ {
"name": "alchemy/binary-driver", "name": "alchemy/binary-driver",
@ -10845,6 +10845,70 @@
}, },
"time": "2021-03-17T13:42:18+00:00" "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", "name": "phpunit/php-code-coverage",
"version": "9.2.6", "version": "9.2.6",

View File

@ -250,6 +250,9 @@
"phpspec/prophecy": { "phpspec/prophecy": {
"version": "1.13.0" "version": "1.13.0"
}, },
"phpstan/phpstan": {
"version": "0.12.98"
},
"phpunit/php-code-coverage": { "phpunit/php-code-coverage": {
"version": "9.2.6" "version": "9.2.6"
}, },