mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57: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
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "phpdocumentor/reflection-docblock",
|
|
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Mike van Riel",
|
|
"email": "[email protected]"
|
|
},
|
|
{
|
|
"name": "Jaap van Otterdijk",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.2 || ^8.0",
|
|
"phpdocumentor/type-resolver": "^1.3",
|
|
"webmozart/assert": "^1.9.1",
|
|
"phpdocumentor/reflection-common": "^2.2",
|
|
"ext-filter": "*"
|
|
},
|
|
"require-dev": {
|
|
"mockery/mockery": "~1.3.2",
|
|
"psalm/phar": "^4.8"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"phpDocumentor\\Reflection\\": "src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"phpDocumentor\\Reflection\\": ["tests/unit", "tests/integration"]
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "5.x-dev"
|
|
}
|
|
}
|
|
}
|