Add phpstan-doctrine extension
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
f980cb00d8
commit
024ac52fb9
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"require": {
|
||||
"phpstan/phpstan": "0.12.11",
|
||||
"phpstan/phpstan-doctrine": "0.12.9",
|
||||
"phpstan/phpstan-phpunit": "0.12.6"
|
||||
},
|
||||
"autoload": {
|
||||
|
66
tasks/phpstan/composer.lock
generated
66
tasks/phpstan/composer.lock
generated
@@ -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": "0608a33782123fcac9a6912e57bdcf65",
|
||||
"content-hash": "e7ba2a1806e53e0b1e80d3e94f1bf38d",
|
||||
"packages": [
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
@@ -97,6 +97,70 @@
|
||||
"description": "PHPStan - PHP Static Analysis Tool",
|
||||
"time": "2020-02-16T14:00:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-doctrine",
|
||||
"version": "0.12.9",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan-doctrine.git",
|
||||
"reference": "af14feb2ed259f9eb16d3107e63d85ed516e30af"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/af14feb2ed259f9eb16d3107e63d85ed516e30af",
|
||||
"reference": "af14feb2ed259f9eb16d3107e63d85ed516e30af",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "~7.1",
|
||||
"phpstan/phpstan": "^0.12.3"
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/collections": "<1.0",
|
||||
"doctrine/common": "<2.7",
|
||||
"doctrine/mongodb-odm": "<1.2",
|
||||
"doctrine/orm": "<2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"consistence/coding-standard": "^3.0.1",
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
|
||||
"doctrine/collections": "^1.0",
|
||||
"doctrine/common": "^2.7",
|
||||
"doctrine/mongodb-odm": "^1.2",
|
||||
"doctrine/orm": "^2.5",
|
||||
"ergebnis/composer-normalize": "^2.0.2",
|
||||
"jakub-onderka/php-parallel-lint": "^1.0",
|
||||
"phing/phing": "^2.16.0",
|
||||
"phpstan/phpstan-phpunit": "^0.12",
|
||||
"phpstan/phpstan-strict-rules": "^0.12",
|
||||
"phpunit/phpunit": "^7.0",
|
||||
"ramsey/uuid-doctrine": "^1.5.0",
|
||||
"slevomat/coding-standard": "^4.5.2"
|
||||
},
|
||||
"type": "phpstan-extension",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "0.12-dev"
|
||||
},
|
||||
"phpstan": {
|
||||
"includes": [
|
||||
"extension.neon",
|
||||
"rules.neon"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"PHPStan\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"description": "Doctrine extensions for PHPStan",
|
||||
"time": "2020-01-10T12:31:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-phpunit",
|
||||
"version": "0.12.6",
|
||||
|
@@ -29,6 +29,7 @@ parameters:
|
||||
checkMissingTypehints: false
|
||||
|
||||
includes:
|
||||
- vendor/phpstan/phpstan-doctrine/extension.neon
|
||||
- vendor/phpstan/phpstan-phpunit/extension.neon
|
||||
- extensions/CodeceptionExtension/extension.neon
|
||||
- phpstan-baseline-unit-tests.neon # https://medium.com/@ondrejmirtes/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard-e77d815a5dff
|
||||
|
@@ -26,4 +26,5 @@ parameters:
|
||||
checkMissingVarTagTypehint: false
|
||||
checkMissingTypehints: false
|
||||
includes:
|
||||
- vendor/phpstan/phpstan-doctrine/extension.neon
|
||||
- phpstan-baseline.neon # https://medium.com/@ondrejmirtes/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard-e77d815a5dff
|
||||
|
Reference in New Issue
Block a user