Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psalm plugins revamp + PHPUnit, Symfony #252

Merged
merged 3 commits into from
Mar 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ It has been extracted as a separate project to make maintenance easier and enabl
| deprecation-detector | [Finds usages of deprecated code](https://github.com/sensiolabs-de/deprecation-detector) | ✅ | ✅ | ✅ |
| deptrac | [Enforces dependency rules between software layers](https://github.com/qossmic/deptrac) | ✅ | ✅ | ✅ |
| diffFilter | [Applies QA tools to run on a single pull request](https://github.com/exussum12/coverageChecker) | ✅ | ✅ | ❌ |
| doctrine-psalm-plugin | [Stubs to let Psalm understand Doctrine better](https://github.com/weirdan/doctrine-psalm-plugin) | ✅ | ✅ | ✅ |
| ecs | [Sets up and runs coding standard checks](https://github.com/Symplify/EasyCodingStandard) | ✅ | ✅ | ✅ |
| infection | [AST based PHP Mutation Testing Framework](https://infection.github.io/) | ❌ | ✅ | ✅ |
| larastan | [PHPStan extension for Laravel](https://github.com/nunomaduro/larastan) | ✅ | ✅ | ✅ |
Expand Down Expand Up @@ -83,6 +82,9 @@ It has been extracted as a separate project to make maintenance easier and enabl
| phpunit-7 | [The PHP testing framework (7.x version)](https://phpunit.de/) | ✅ | ✅ | ❌ |
| phpunit-8 | [The PHP testing framework (8.x version)](https://phpunit.de/) | ✅ | ✅ | ✅ |
| psalm | [Finds errors in PHP applications](https://psalm.dev/) | ✅ | ✅ | ✅ |
| psalm-plugin-doctrine | [Stubs to let Psalm understand Doctrine better](https://github.com/weirdan/doctrine-psalm-plugin) | ✅ | ✅ | ✅ |
| psalm-plugin-phpunit | [Psalm plugin for PHPUnit](https://github.com/psalm/psalm-plugin-phpunit) | ✅ | ✅ | ✅ |
| psalm-plugin-symfony | [Psalm Plugin for Symfony](https://github.com/psalm/psalm-plugin-symfony) | ✅ | ✅ | ✅ |
| psecio-parse | [Scans code for potential security-related issues](https://github.com/psecio/parse) | ✅ | ✅ | ✅ |
| rector | [Tool for instant code upgrades and refactoring](https://github.com/rectorphp/rector) | ✅ | ✅ | ✅ |
| roave-backward-compatibility-check | [Tool to compare two revisions of a class API to check for BC breaks](https://github.com/Roave/BackwardCompatibilityCheck) | ❌ | ✅ | ❌ |
Expand Down
49 changes: 39 additions & 10 deletions resources/psalm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,58 @@
"summary": "Finds errors in PHP applications",
"website": "https://psalm.dev/",
"command": {
"file-download": {
"url": "https://github.com/vimeo/psalm/releases/download/4.6.4/psalm.phar.asc",
"file": "%target-dir%/psalm.phar.asc"
},
"phar-download": {
"phar": "https://github.com/vimeo/psalm/releases/download/4.6.4/psalm.phar",
"bin": "%target-dir%/psalm"
"composer-bin-plugin": {
"package": "vimeo/psalm",
"namespace": "psalm",
"links": {
"%target-dir%/psalm": "psalm",
"%target-dir%/psalm-language-server": "psalm-language-server",
"%target-dir%/psalm-plugin": "psalm-plugin",
"%target-dir%/psalm-refactor": "psalm-refactor",
"%target-dir%/psalter": "psalter"
}
}
},
"test": "psalm -h",
"tags": ["featured", "psalm"]
},
{
"name": "doctrine-psalm-plugin",
"name": "psalm-plugin-doctrine",
"summary": "Stubs to let Psalm understand Doctrine better",
"website": "https://github.com/weirdan/doctrine-psalm-plugin",
"command": {
"composer-bin-plugin": {
"package": "weirdan/doctrine-psalm-plugin",
"namespace": "doctrine-psalm-plugin"
"namespace": "psalm"
}
},
"test": "cd / && psalm-plugin show | grep weirdan/doctrine-psalm-plugin",
"tags": ["psalm"]
},
{
"name": "psalm-plugin-phpunit",
"summary": "Psalm plugin for PHPUnit",
"website": "https://github.com/psalm/psalm-plugin-phpunit",
"command": {
"composer-bin-plugin": {
"package": "psalm/plugin-phpunit",
"namespace": "psalm"
}
},
"test": "cd / && psalm-plugin show | grep psalm/plugin-phpunit",
"tags": ["psalm"]
},
{
"name": "psalm-plugin-symfony",
"summary": "Psalm Plugin for Symfony",
"website": "https://github.com/psalm/psalm-plugin-symfony",
"command": {
"composer-bin-plugin": {
"package": "psalm/plugin-symfony",
"namespace": "psalm"
}
},
"test": "composer global bin doctrine-psalm-plugin show weirdan/doctrine-psalm-plugin",
"test": "cd / && psalm-plugin show | grep psalm/plugin-symfony",
"tags": ["psalm"]
}
]
Expand Down