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

Improve type inference for public method return types #59

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented Dec 17, 2024

Q A
Documentation yes
QA yes

Description

Also marks the class soft-final in preparation for the next major.

Because the encoding constructor argument is now marked as non-empty-string, defensive type checks now emit a psalm issue which has been added to the baseline

@gsteel gsteel added Enhancement QA Quality assurance tasks such as static analysis improvements labels Dec 17, 2024
@gsteel gsteel added this to the 2.15.0 milestone Dec 17, 2024
Also marks the class soft-final in preparation for the next major.

Because the `encoding` constructor argument is now marked as `non-empty-string`, defensive type checks now emit a psalm issue which has been added to the baseline

Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel requested a review from a team December 17, 2024 17:17
Copy link
Member

@froschdesign froschdesign left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼

@gsteel gsteel self-assigned this Dec 17, 2024
@gsteel gsteel merged commit c612b04 into laminas:2.15.x Dec 17, 2024
15 checks passed
@gsteel gsteel deleted the sa-improvements branch December 17, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement QA Quality assurance tasks such as static analysis improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants