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 Support #60

Merged
merged 7 commits into from
Jun 23, 2021
Merged

Psalm Support #60

merged 7 commits into from
Jun 23, 2021

Conversation

javabudd
Copy link
Contributor

References #58 and targets the 1.9.x branch.

@javabudd
Copy link
Contributor Author

javabudd commented Dec 17, 2020

I believe this PR will be much easier to integrate once this issue is addressed/merged. psalm/plugin-phpunit doesn't support PHP <= 7 after version 0.9.2, which requires vimeo/psam ^3.6.2

@Ocramius
Copy link
Member

Ocramius commented Jan 7, 2021

Indeed, wanted to merge, but we need #59 first.

This was linked to issues Jan 7, 2021
javabudd and others added 4 commits June 23, 2021 09:04
Consistency between repos.

Also adds config and view directories to scan.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- Renames Psalm configuration file with .dist extension and adds indenting.
- Applies automated and suggested fixes created by Psalm.
- Creates initial Psalm baseline.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney weierophinney added this to the 1.10.0 milestone Jun 23, 2021
@weierophinney weierophinney changed the base branch from 1.9.x to 1.10.x June 23, 2021 15:26
They were not being flagged locally, which is concerning.
I've indicated test assets should not be scanned (which was the bulk of them), and added a few more rigorous assertions where needed.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
The files are created during testing, prior to being included by the individual tests.
Psalm does not know that, and assumes they are missing.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney weierophinney merged commit e82e906 into laminas-api-tools:1.10.x Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.0 support Psalm integration
3 participants