-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add Psalm to Sensei #7097
Add Psalm to Sensei #7097
Conversation
Codecov Report
@@ Coverage Diff @@
## trunk #7097 +/- ##
=========================================
Coverage 49.35% 49.35%
Complexity 10541 10541
=========================================
Files 575 575
Lines 44513 44513
Branches 402 402
=========================================
Hits 21968 21968
Misses 22218 22218
Partials 327 327 Continue to review full report in Codecov by Sentry.
|
composer.json
Outdated
"php-stubs/wordpress-stubs": "^6.3", | ||
"phpcompatibility/phpcompatibility-wp": "2.1.4", | ||
"sirbrillig/phpcs-no-get-current-user": "1.1.0", | ||
"sirbrillig/phpcs-variable-analysis": "2.11.16", | ||
"squizlabs/php_codesniffer": "3.7.2", | ||
"symfony/polyfill-php80": "1.16.0", | ||
"vimeo/psalm": "^4.22", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use fixed versions for the new packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For tools like this one, I don't see any reasons to prevent a minor or patch update.
At the same time, I'm fine if we want to fix the version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it here: 40ef9dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just curious if you know why we're using fixed versions for dev dependencies. I'm perfectly fine with using non-fixed versions for the dev dependencies. Feel free to revert the change if you like.
Hm, I'm getting the following error when running
I don't have that folder locally and if I remove |
Adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A shiny new tool, yum! 😎
All works as described.
Resolves part of #7094
Proposed Changes
Testing Instructions
composer install
vendor/bin/psalm
Pre-Merge Checklist