Skip to content

Types: be more specific about required scalar types#185

Merged
Spomky merged 2 commits intoSpomky-Labs:11.2.xfrom
Slamdunk:non_empty_string
Mar 16, 2023
Merged

Types: be more specific about required scalar types#185
Spomky merged 2 commits intoSpomky-Labs:11.2.xfrom
Slamdunk:non_empty_string

Conversation

@Slamdunk
Copy link
Contributor

No description provided.

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.

@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