mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 18:13:13 +00:00
This switches the installation method for Psalm from Phive to Composer, while still using a Phar file for running Psalm.
Includes:
* Removing Psalm from the Phive configuration.
* Adding Psalm to the Composer configuration. Includes upgrading from version `3.11.2` to version `4.8.1`.
* Adjusting the script used in the `Makefile`.
👉 Please verify and test this as things work differently on different OS-es and this should work for you.
* Adjusting the GH Actions script to use the Composer installed version of Psalm.
Note: due to the committed `composer.lock` file, Psalm will not automatically upgrade when newer versions are available.
Refs:
* https://github.com/vimeo/psalm/releases
* https://github.com/psalm/phar/releases
413 lines
14 KiB
JSON
413 lines
14 KiB
JSON
{
|
|
"_readme": [
|
|
"This file locks the dependencies of your project to a known state",
|
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
|
"This file is @generated automatically"
|
|
],
|
|
"content-hash": "f1e7818879f1626c05926f50c2c96f44",
|
|
"packages": [
|
|
{
|
|
"name": "phpdocumentor/reflection-common",
|
|
"version": "2.2.0",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
|
|
"reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
|
|
"reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": "^7.2 || ^8.0"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-2.x": "2.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"phpDocumentor\\Reflection\\": "src/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Jaap van Otterdijk",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"description": "Common reflection classes used by phpdocumentor to reflect the code structure",
|
|
"homepage": "http://www.phpdoc.org",
|
|
"keywords": [
|
|
"FQSEN",
|
|
"phpDocumentor",
|
|
"phpdoc",
|
|
"reflection",
|
|
"static analysis"
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
|
|
"source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
|
|
},
|
|
"time": "2020-06-27T09:03:43+00:00"
|
|
},
|
|
{
|
|
"name": "phpdocumentor/type-resolver",
|
|
"version": "1.4.0",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
|
"reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
|
|
"reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": "^7.2 || ^8.0",
|
|
"phpdocumentor/reflection-common": "^2.0"
|
|
},
|
|
"require-dev": {
|
|
"ext-tokenizer": "*"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-1.x": "1.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"phpDocumentor\\Reflection\\": "src"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Mike van Riel",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
|
|
"support": {
|
|
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
|
|
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
|
|
},
|
|
"time": "2020-09-17T18:55:26+00:00"
|
|
},
|
|
{
|
|
"name": "symfony/polyfill-ctype",
|
|
"version": "v1.17.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/symfony/polyfill-ctype.git",
|
|
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
|
|
"reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=5.3.3"
|
|
},
|
|
"suggest": {
|
|
"ext-ctype": "For best performance"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "1.17-dev"
|
|
},
|
|
"thanks": {
|
|
"name": "symfony/polyfill",
|
|
"url": "https://github.com/symfony/polyfill"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Symfony\\Polyfill\\Ctype\\": ""
|
|
},
|
|
"files": [
|
|
"bootstrap.php"
|
|
]
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Gert de Pagter",
|
|
"email": "[email protected]"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "https://symfony.com/contributors"
|
|
}
|
|
],
|
|
"description": "Symfony polyfill for ctype functions",
|
|
"homepage": "https://symfony.com",
|
|
"keywords": [
|
|
"compatibility",
|
|
"ctype",
|
|
"polyfill",
|
|
"portable"
|
|
],
|
|
"support": {
|
|
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.17.1"
|
|
},
|
|
"funding": [
|
|
{
|
|
"url": "https://symfony.com/sponsor",
|
|
"type": "custom"
|
|
},
|
|
{
|
|
"url": "https://github.com/fabpot",
|
|
"type": "github"
|
|
},
|
|
{
|
|
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
"type": "tidelift"
|
|
}
|
|
],
|
|
"time": "2020-06-06T08:46:27+00:00"
|
|
},
|
|
{
|
|
"name": "webmozart/assert",
|
|
"version": "1.9.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/webmozarts/assert.git",
|
|
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
|
|
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": "^5.3.3 || ^7.0 || ^8.0",
|
|
"symfony/polyfill-ctype": "^1.8"
|
|
},
|
|
"conflict": {
|
|
"phpstan/phpstan": "<0.12.20",
|
|
"vimeo/psalm": "<3.9.1"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^4.8.36 || ^7.5.13"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Webmozart\\Assert\\": "src/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Bernhard Schussek",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"description": "Assertions to validate method input/output with nice error messages.",
|
|
"keywords": [
|
|
"assert",
|
|
"check",
|
|
"validate"
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/webmozarts/assert/issues",
|
|
"source": "https://github.com/webmozarts/assert/tree/1.9.1"
|
|
},
|
|
"time": "2020-07-08T17:02:28+00:00"
|
|
}
|
|
],
|
|
"packages-dev": [
|
|
{
|
|
"name": "hamcrest/hamcrest-php",
|
|
"version": "v2.0.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/hamcrest/hamcrest-php.git",
|
|
"reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
|
|
"reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": "^5.3|^7.0|^8.0"
|
|
},
|
|
"replace": {
|
|
"cordoval/hamcrest-php": "*",
|
|
"davedevelopment/hamcrest-php": "*",
|
|
"kodova/hamcrest-php": "*"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/php-file-iterator": "^1.4 || ^2.0",
|
|
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.1-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"hamcrest"
|
|
]
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"BSD-3-Clause"
|
|
],
|
|
"description": "This is the PHP port of Hamcrest Matchers",
|
|
"keywords": [
|
|
"test"
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/hamcrest/hamcrest-php/issues",
|
|
"source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
|
|
},
|
|
"time": "2020-07-09T08:09:16+00:00"
|
|
},
|
|
{
|
|
"name": "mockery/mockery",
|
|
"version": "1.3.4",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/mockery/mockery.git",
|
|
"reference": "31467aeb3ca3188158613322d66df81cedd86626"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/mockery/mockery/zipball/31467aeb3ca3188158613322d66df81cedd86626",
|
|
"reference": "31467aeb3ca3188158613322d66df81cedd86626",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"hamcrest/hamcrest-php": "^2.0.1",
|
|
"lib-pcre": ">=7.0",
|
|
"php": ">=5.6.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^5.7.10|^6.5|^7.5|^8.5|^9.3"
|
|
},
|
|
"type": "library",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "1.3.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-0": {
|
|
"Mockery": "library/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"BSD-3-Clause"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Pádraic Brady",
|
|
"email": "[email protected]",
|
|
"homepage": "http://blog.astrumfutura.com"
|
|
},
|
|
{
|
|
"name": "Dave Marshall",
|
|
"email": "[email protected]",
|
|
"homepage": "http://davedevelopment.co.uk"
|
|
}
|
|
],
|
|
"description": "Mockery is a simple yet flexible PHP mock object framework",
|
|
"homepage": "https://github.com/mockery/mockery",
|
|
"keywords": [
|
|
"BDD",
|
|
"TDD",
|
|
"library",
|
|
"mock",
|
|
"mock objects",
|
|
"mockery",
|
|
"stub",
|
|
"test",
|
|
"test double",
|
|
"testing"
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/mockery/mockery/issues",
|
|
"source": "https://github.com/mockery/mockery/tree/1.3.4"
|
|
},
|
|
"time": "2021-02-24T09:51:00+00:00"
|
|
},
|
|
{
|
|
"name": "psalm/phar",
|
|
"version": "4.8.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/psalm/phar.git",
|
|
"reference": "ce0856e5c28a78382d1fa4e1a11cf9aac6292231"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/psalm/phar/zipball/ce0856e5c28a78382d1fa4e1a11cf9aac6292231",
|
|
"reference": "ce0856e5c28a78382d1fa4e1a11cf9aac6292231",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": "^7.1 || ^8.0"
|
|
},
|
|
"conflict": {
|
|
"vimeo/psalm": "*"
|
|
},
|
|
"bin": [
|
|
"psalm.phar"
|
|
],
|
|
"type": "library",
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"description": "Composer-based Psalm Phar",
|
|
"support": {
|
|
"issues": "https://github.com/psalm/phar/issues",
|
|
"source": "https://github.com/psalm/phar/tree/4.8.1"
|
|
},
|
|
"time": "2021-06-21T02:02:58+00:00"
|
|
}
|
|
],
|
|
"aliases": [],
|
|
"minimum-stability": "stable",
|
|
"stability-flags": [],
|
|
"prefer-stable": false,
|
|
"prefer-lowest": false,
|
|
"platform": {
|
|
"php": "^7.2 || ^8.0",
|
|
"ext-filter": "*"
|
|
},
|
|
"platform-dev": [],
|
|
"plugin-api-version": "2.1.0"
|
|
}
|