### Feature Request | Q | A |------------ | ------ | QA | yes #### Summary As decided during the [Technical-Steering-Committee Meeting on August 3rd, 2020](https://github.com/laminas/technical-steering-committee/blob/main/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-static-analysis-tooling), Laminas wants to implement [vimeo/psalm](https://github.com/vimeo/psalm) in all packages. Implementing psalm is quite easy. #### Required - [ ] Create a `psalm.xml` in the project root - [ ] Copy and paste the contents from this [psalm.xml.dist](https://github.com/mezzio/repo-template/blob/6124090610ef1c6d6b0c80a063cafacc3ec68f38/psalm.xml.dist) - [ ] Run `$ composer require --dev vimeo/psalm` - [ ] Run `$ vendor/bin/psalm --set-baseline=psalm-baseline.xml` - [ ] Add a composer script `static-analysis` with the command `psalm --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.yml` entry, `composer.json` `require-dev` and `scripts`) ##### Optional - [ ] Fix as many psalm errors as possible.
Feature Request
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
psalm.xmlin the project root$ composer require --dev vimeo/psalm$ vendor/bin/psalm --set-baseline=psalm-baseline.xmlstatic-analysiswith the commandpsalm --shepherd --statsscript:in.travis.yml:- if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fiphpstan.neon.dist,.travis.ymlentry,composer.jsonrequire-devandscripts)Optional