2016-01-08 00:33:37 +01:00
|
|
|
{
|
2016-11-21 23:08:17 +01:00
|
|
|
"name": "vimeo/psalm",
|
2016-01-08 00:33:37 +01:00
|
|
|
"type": "library",
|
2020-01-12 16:39:53 +01:00
|
|
|
"description": "A static analysis tool for finding errors in PHP applications",
|
|
|
|
"keywords": [
|
|
|
|
"php",
|
|
|
|
"code",
|
|
|
|
"inspection"
|
|
|
|
],
|
2016-11-21 23:08:17 +01:00
|
|
|
"license": "MIT",
|
2016-01-08 00:33:37 +01:00
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Matthew Brown"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
2019-09-18 21:03:12 +02:00
|
|
|
"php": "^7.1.3",
|
2020-01-12 16:39:53 +01:00
|
|
|
"ext-dom": "*",
|
2020-01-01 22:43:36 +01:00
|
|
|
"ext-json": "*",
|
|
|
|
"ext-libxml": "*",
|
2020-01-12 16:43:11 +01:00
|
|
|
"ext-SimpleXML": "*",
|
2020-01-01 22:43:36 +01:00
|
|
|
"ext-tokenizer": "*",
|
2020-01-12 16:39:53 +01:00
|
|
|
"amphp/amp": "^2.1",
|
|
|
|
"amphp/byte-stream": "^1.5",
|
2018-10-17 21:52:26 +02:00
|
|
|
"composer/xdebug-handler": "^1.1",
|
|
|
|
"felixfbecker/advanced-json-rpc": "^3.0.3",
|
2020-01-12 16:39:53 +01:00
|
|
|
"felixfbecker/language-server-protocol": "^1.4",
|
2018-10-17 21:52:26 +02:00
|
|
|
"netresearch/jsonmapper": "^1.0",
|
2020-01-12 16:39:53 +01:00
|
|
|
"nikic/php-parser": "^4.3",
|
|
|
|
"ocramius/package-versions": "^1.2",
|
|
|
|
"openlss/lib-array2xml": "^1.0",
|
|
|
|
"sebastian/diff": "^3.0",
|
|
|
|
"symfony/console": "^3.3 || ^4.0 || ^5.0",
|
2018-10-17 21:52:26 +02:00
|
|
|
"webmozart/glob": "^4.1",
|
2020-01-12 16:39:53 +01:00
|
|
|
"webmozart/path-util": "^2.3"
|
|
|
|
},
|
|
|
|
"provide": {
|
|
|
|
"psalm/psalm": "self.version"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"bamarni/composer-bin-plugin": "^1.2",
|
2020-01-12 16:43:11 +01:00
|
|
|
"ext-curl": "*",
|
2020-01-12 16:39:53 +01:00
|
|
|
"phpmyadmin/sql-parser": "^5.0",
|
|
|
|
"phpspec/prophecy": ">=1.9.0",
|
|
|
|
"phpunit/phpunit": "^7.5 || ^8.0",
|
|
|
|
"psalm/plugin-phpunit": "^0.6",
|
|
|
|
"slevomat/coding-standard": "^5.0",
|
|
|
|
"squizlabs/php_codesniffer": "^3.5",
|
|
|
|
"symfony/process": "^4.3"
|
|
|
|
},
|
|
|
|
"suggest": {
|
|
|
|
"ext-igbinary": "^2.0.5"
|
|
|
|
},
|
|
|
|
"config": {
|
2020-01-12 16:43:11 +01:00
|
|
|
"optimize-autoloader": true,
|
|
|
|
"sort-packages": true
|
2020-01-12 16:39:53 +01:00
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-master": "3.x-dev",
|
|
|
|
"dev-2.x": "2.x-dev",
|
|
|
|
"dev-1.x": "1.x-dev"
|
|
|
|
}
|
2016-01-08 00:33:37 +01:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2018-11-12 16:11:08 +01:00
|
|
|
"Psalm\\Plugin\\": "src/Psalm/Plugin",
|
2016-07-26 00:37:44 +02:00
|
|
|
"Psalm\\": "src/Psalm"
|
2019-06-01 14:26:22 +02:00
|
|
|
},
|
|
|
|
"files": [
|
2019-12-08 22:35:56 +01:00
|
|
|
"src/functions.php",
|
|
|
|
"src/spl_object_id.php"
|
2019-06-01 14:26:22 +02:00
|
|
|
]
|
2016-04-04 01:47:06 +02:00
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2016-10-20 17:51:45 +02:00
|
|
|
"Psalm\\Tests\\": "tests"
|
2016-01-08 00:33:37 +01:00
|
|
|
}
|
2016-10-20 17:54:55 +02:00
|
|
|
},
|
2020-01-12 16:39:53 +01:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"url": "examples/plugins/composer-based/echo-checker"
|
|
|
|
}
|
|
|
|
],
|
2018-10-17 21:52:26 +02:00
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true,
|
2020-01-12 16:39:53 +01:00
|
|
|
"bin": [
|
|
|
|
"psalm",
|
|
|
|
"psalm-language-server",
|
|
|
|
"psalm-plugin",
|
|
|
|
"psalm-refactor",
|
|
|
|
"psalter"
|
|
|
|
],
|
2016-10-20 17:54:55 +02:00
|
|
|
"scripts": {
|
2020-01-12 16:39:53 +01:00
|
|
|
"all-tests": [
|
2018-02-19 18:20:34 +01:00
|
|
|
"phpcs",
|
2020-01-12 16:39:53 +01:00
|
|
|
"./psalm --find-dead-code",
|
2018-02-19 18:20:34 +01:00
|
|
|
"phpunit"
|
|
|
|
],
|
2020-01-12 16:39:53 +01:00
|
|
|
"psalm": "./psalm --find-dead-code",
|
|
|
|
"standards": "phpcs",
|
|
|
|
"tests": [
|
2018-02-19 18:20:34 +01:00
|
|
|
"phpcs",
|
2017-05-27 00:26:14 +02:00
|
|
|
"phpunit"
|
|
|
|
]
|
2020-01-12 16:39:53 +01:00
|
|
|
}
|
2016-01-08 00:33:37 +01:00
|
|
|
}
|