Skip to content

Conversation

@gchtr
Copy link
Member

@gchtr gchtr commented Oct 25, 2022

Issue

There are various issues raised by PHPStan on level 0.

Solution

This pull request resolves some of them. Other issues will be resolved in separate pull requests.

Impact

More robust code.

Usage Changes

Some return type changes.

Considerations

Testing

Should be covered through existing tests.

Except the new return types, which we should add tests for. Coverage shrinked because of this.

Todo

  • Fix coverage

@gchtr gchtr added the 2.0 label Oct 25, 2022
@gchtr
Copy link
Member Author

gchtr commented Nov 16, 2022

I think we can ignore the decreased coverage. Some of it is caused by return types that should become stale again when #2669 is merged. I’m marking this ready for review.

@gchtr gchtr marked this pull request as ready for review November 16, 2022 19:56
@gchtr gchtr added the Ready for Review Ready for a contrib to take a look at and review/merge label Dec 30, 2022
@gchtr
Copy link
Member Author

gchtr commented Jan 24, 2023

@nlemoine Thanks for the review! I’m merging this!

@gchtr gchtr merged commit aec353f into 2.x-phpstan-setup Jan 24, 2023
@gchtr gchtr deleted the 2.x-phpstan-level-0 branch January 24, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.0 Ready for Review Ready for a contrib to take a look at and review/merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants