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

Types: be more specific about required scalar types #185

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

Slamdunk
Copy link
Contributor

No description provided.

@@ -3,23 +3,6 @@ parameters:
paths:
- src
- tests
ignoreErrors:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By letting vendor/bin/phpstan analyse --generate-baseline generating the errors, they are much more specific and so eventual future inconsistencies emerge earlier

Copy link
Member

Choose a reason for hiding this comment

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

Excellent! I was not aware of this command.
I tested it on another project and you are right, it helps a lot.

phpstan-baseline.neon Show resolved Hide resolved
@Spomky Spomky merged commit 9a15690 into Spomky-Labs:11.2.x Mar 16, 2023
@Slamdunk Slamdunk deleted the non_empty_string branch March 16, 2023 19:16
@Spomky
Copy link
Member

Spomky commented Mar 16, 2023

Many thanks for this PR!

@Slamdunk
Copy link
Contributor Author

Hi, may I ask you to release this, maybe in the 11.1.1 milestone?

@Spomky Spomky modified the milestones: 11.1.1, 11.2.0 Apr 2, 2023
@Spomky
Copy link
Member

Spomky commented Apr 2, 2023

Hi,

I didn't pay attention, but this PR is based on 11.2.x and not 11.1.x.
So it will be 11.2.0. It's okay I guess, I won't mess up the branches.

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.

2 participants