-
Notifications
You must be signed in to change notification settings - Fork 264
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
PHPLIB-1612 Upgrade Psalm v6 #1576
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,5 @@ runs: | |
- name: Install dependencies with Composer | ||
uses: ramsey/[email protected] | ||
with: | ||
# Revert when psalm supports PHP 8.4 | ||
# composer-options: "--no-suggest" | ||
composer-options: "--no-suggest ${{ inputs.php-version == '8.4' && '--ignore-platform-req=php+' || '' }}" | ||
composer-options: "--no-suggest" | ||
working-directory: "${{ inputs.working-directory }}" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
<psalm | ||
errorLevel="1" | ||
errorBaseline="psalm-baseline.xml" | ||
ignoreInternalFunctionFalseReturn="true" | ||
ignoreInternalFunctionNullReturn="true" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this static analysis errors can be addressed. There may be edge cases when using the iterators.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Assuming you don't intend to address these in this PR, I'd suggest opening a new PHPLIB ticket that includes both sets of errors for each config option. Cross-reference it to PHPLIB-1612 and backlog it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've created PHPLIB-1625 |
||
resolveFromConfigFile="true" | ||
findUnusedBaselineEntry="true" | ||
findUnusedCode="false" | ||
|
@@ -17,12 +19,6 @@ | |
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<stubs> | ||
<file name="stubs/BSON/Document.stub.php"/> | ||
<file name="stubs/BSON/Iterator.stub.php"/> | ||
<file name="stubs/BSON/PackedArray.stub.php"/> | ||
jmikola marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</stubs> | ||
|
||
<issueHandlers> | ||
<!-- Class is meant to be Unserialized by the extension only --> | ||
<PropertyNotSetInConstructor> | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
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.