2016-01-07 18:33:37 -05:00
|
|
|
{
|
2016-11-21 17:08:17 -05:00
|
|
|
"name": "vimeo/psalm",
|
2016-01-07 18:33:37 -05: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 17:08:17 -05:00
|
|
|
"license": "MIT",
|
2016-01-07 18:33:37 -05:00
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Matthew Brown"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
2020-10-26 15:14:48 -04:00
|
|
|
"php": "^7.1|^8",
|
2020-01-30 08:20:23 +01:00
|
|
|
"ext-SimpleXML": "*",
|
2021-08-27 10:57:30 +02:00
|
|
|
"ext-ctype": "*",
|
2020-01-12 16:39:53 +01:00
|
|
|
"ext-dom": "*",
|
2020-01-01 16:43:36 -05:00
|
|
|
"ext-json": "*",
|
|
|
|
"ext-libxml": "*",
|
2020-09-13 22:39:03 -04:00
|
|
|
"ext-mbstring": "*",
|
2021-08-27 11:00:49 +02:00
|
|
|
"ext-tokenizer": "*",
|
2021-03-11 10:40:23 +05:30
|
|
|
"amphp/amp": "^2.4.2",
|
2020-01-12 16:39:53 +01:00
|
|
|
"amphp/byte-stream": "^1.5",
|
2020-09-01 16:20:24 +03:00
|
|
|
"composer/package-versions-deprecated": "^1.8.0",
|
2021-03-28 23:45:45 -04:00
|
|
|
"composer/semver": "^1.4 || ^2.0 || ^3.0",
|
2021-04-16 22:07:47 +02:00
|
|
|
"composer/xdebug-handler": "^1.1 || ^2.0",
|
2020-09-01 16:20:24 +03:00
|
|
|
"dnoegel/php-xdg-base-dir": "^0.1.1",
|
2018-10-17 15:52:26 -04:00
|
|
|
"felixfbecker/advanced-json-rpc": "^3.0.3",
|
2021-02-24 16:14:04 +01:00
|
|
|
"felixfbecker/language-server-protocol": "^1.5",
|
2021-02-17 22:37:43 +01:00
|
|
|
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
|
2021-07-21 13:29:07 -04:00
|
|
|
"nikic/php-parser": "^4.12",
|
2020-01-12 16:39:53 +01:00
|
|
|
"openlss/lib-array2xml": "^1.0",
|
2020-02-07 07:37:29 -08:00
|
|
|
"sebastian/diff": "^3.0 || ^4.0",
|
2020-01-12 11:28:50 -05:00
|
|
|
"symfony/console": "^3.4.17 || ^4.1.6 || ^5.0",
|
2020-01-12 16:39:53 +01:00
|
|
|
"webmozart/path-util": "^2.3"
|
|
|
|
},
|
|
|
|
"provide": {
|
|
|
|
"psalm/psalm": "self.version"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
2020-01-12 10:43:11 -05:00
|
|
|
"ext-curl": "*",
|
2020-02-18 15:04:45 -05:00
|
|
|
"bamarni/composer-bin-plugin": "^1.2",
|
2020-12-04 22:11:14 +02:00
|
|
|
"brianium/paratest": "^4.0||^6.0",
|
2021-02-13 00:03:03 +02:00
|
|
|
"php-parallel-lint/php-parallel-lint": "^1.2",
|
2020-08-30 11:44:14 -04:00
|
|
|
"phpdocumentor/reflection-docblock": "^5",
|
2020-12-04 22:11:14 +02:00
|
|
|
"phpmyadmin/sql-parser": "5.1.0||dev-master",
|
2020-01-12 16:39:53 +01:00
|
|
|
"phpspec/prophecy": ">=1.9.0",
|
2020-08-30 11:44:14 -04:00
|
|
|
"phpunit/phpunit": "^9.0",
|
2021-06-12 02:31:12 +03:00
|
|
|
"psalm/plugin-phpunit": "^0.16",
|
2021-05-04 00:22:15 +03:00
|
|
|
"slevomat/coding-standard": "^7.0",
|
2020-01-12 16:39:53 +01:00
|
|
|
"squizlabs/php_codesniffer": "^3.5",
|
2021-06-12 01:05:12 +03:00
|
|
|
"symfony/process": "^4.3 || ^5.0",
|
2020-12-04 22:11:14 +02:00
|
|
|
"weirdan/prophecy-shim": "^1.0 || ^2.0"
|
2020-01-12 16:39:53 +01:00
|
|
|
},
|
|
|
|
"suggest": {
|
|
|
|
"ext-igbinary": "^2.0.5"
|
|
|
|
},
|
|
|
|
"config": {
|
2020-01-12 10:43:11 -05:00
|
|
|
"optimize-autoloader": true,
|
2020-12-29 14:01:22 +00:00
|
|
|
"sort-packages": true,
|
|
|
|
"platform-check": false
|
2020-01-12 16:39:53 +01:00
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
2020-10-19 01:55:18 -04:00
|
|
|
"dev-master": "4.x-dev",
|
2020-08-30 12:40:47 -04:00
|
|
|
"dev-3.x": "3.x-dev",
|
2020-01-12 16:39:53 +01:00
|
|
|
"dev-2.x": "2.x-dev",
|
|
|
|
"dev-1.x": "1.x-dev"
|
|
|
|
}
|
2016-01-07 18:33:37 -05:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2020-05-15 00:37:29 +02:00
|
|
|
"Psalm\\": "src/Psalm/"
|
2019-06-01 15:26:22 +03:00
|
|
|
},
|
|
|
|
"files": [
|
2019-12-08 16:35:56 -05:00
|
|
|
"src/functions.php",
|
|
|
|
"src/spl_object_id.php"
|
2019-06-01 15:26:22 +03:00
|
|
|
]
|
2016-04-03 19:47:06 -04:00
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2020-05-15 00:37:29 +02:00
|
|
|
"Psalm\\Tests\\": "tests/"
|
2016-01-07 18:33:37 -05:00
|
|
|
}
|
2016-10-20 11:54:55 -04:00
|
|
|
},
|
2020-01-12 16:39:53 +01:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"url": "examples/plugins/composer-based/echo-checker"
|
|
|
|
}
|
|
|
|
],
|
2018-10-17 15:52:26 -04: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 11:54:55 -04:00
|
|
|
"scripts": {
|
2020-01-12 16:39:53 +01:00
|
|
|
"all-tests": [
|
2018-02-19 09:20:34 -08:00
|
|
|
"phpcs",
|
2020-01-12 16:39:53 +01:00
|
|
|
"./psalm --find-dead-code",
|
2018-02-19 09:20:34 -08:00
|
|
|
"phpunit"
|
|
|
|
],
|
2020-01-12 16:39:53 +01:00
|
|
|
"psalm": "./psalm --find-dead-code",
|
2020-05-15 01:16:16 +02:00
|
|
|
"cs": "phpcs -p",
|
|
|
|
"cs-fix": "phpcbf -p",
|
2020-01-12 16:39:53 +01:00
|
|
|
"tests": [
|
2018-02-19 09:20:34 -08:00
|
|
|
"phpcs",
|
2017-05-26 23:26:14 +01:00
|
|
|
"phpunit"
|
|
|
|
]
|
2020-01-12 16:39:53 +01:00
|
|
|
}
|
2016-01-07 18:33:37 -05:00
|
|
|
}
|