-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
EnhancementNew feature or requestNew feature or requesthacktoberfest-acceptedIssues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.comIssues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com
Milestone
Description
Feature Request
| Q | A |
|---|---|
| QA | yes |
Summary
As decided during the Technical-Steering-Committee Meeting on August 3rd, 2020, Laminas wants to implement vimeo/psalm in all packages.
Implementing psalm is quite easy.
Required
- Create a
psalm.xmlin the project root - Copy and paste the contents from this psalm.xml.dist
- Run
$ composer require --dev vimeo/psalm - Run
$ vendor/bin/psalm --set-baseline=psalm-baseline.xml - Add a composer script
static-analysiswith the commandpsalm --shepherd --stats - Add a new line to
script:in.travis.yml:- if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi - Remove phpstan from the project (
phpstan.neon.dist,.travis.ymlentry,composer.jsonrequire-devandscripts)
Optional
- Fix as many psalm errors as possible.
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or requesthacktoberfest-acceptedIssues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.comIssues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com