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

Feature/upgrade psalm #29

Merged
merged 4 commits into from
Feb 29, 2024
Merged

Feature/upgrade psalm #29

merged 4 commits into from
Feb 29, 2024

Conversation

JimTools
Copy link
Contributor

@JimTools JimTools commented Feb 22, 2024

Description
Allowing Psalm v5 for versions of PHP which support it, is for maintenance to ensure the package stays up to date and fixing some potential issues which have been flagged as Psalm as it has gotten stricter

closes #28

* @extends \IteratorAggregate<array-key, StackTraceFrame>
* @extends \ArrayAccess<array-key, StackTraceFrame>
*/
interface StackTraceInterface extends \IteratorAggregate, \ArrayAccess
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an odd with @impliments annotation I've had to extend the interface to satisfy error

phpstan/phpstan#5484

Copy link
Owner

@scheb scheb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one suggestion regarding Psalm version.

Also, would you please rebase your work onto the current main branch? I did some update so get the repository and builds up-to-date. You'll now get a proper CI build with Psalm 5.

composer.json Outdated Show resolved Hide resolved
Adding psalm v5 for php versions which support it
Fixing erros as with v5 Psalm has gottern more strict
Dropping Psalm v3 as PHP 7.1 support is also covered under v4.
Repository owner deleted a comment from codecov-commenter Feb 29, 2024
@scheb scheb merged commit 50d5344 into scheb:1.x Feb 29, 2024
5 checks passed
@scheb
Copy link
Owner

scheb commented Feb 29, 2024

Thanks, merged :)

@JimTools JimTools deleted the feature/upgrade-psalm branch March 1, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Psalm violition
2 participants