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

Fix errors reported by PHPStan #619

Merged
merged 3 commits into from
Sep 18, 2024
Merged

Conversation

szepeviktor
Copy link
Contributor

What?

From #618

Testing Instructions

vendor/bin/phpstan analyze -c vendor/szepeviktor/phpstan-wordpress/extension.neon includes/ providers/ class-*.php two-factor.php --level=0

* @return false
* @return void|never
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is dubious.
catch should do better.

Copy link
Member

Choose a reason for hiding this comment

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

This file is pending removal via #439 so not too much effort needs to happen here :)

@jeffpaul jeffpaul modified the milestone: 0.10.0 Jul 18, 2024
@jeffpaul
Copy link
Member

@dd32 any other concerns on the updates here or otherwise good to merge in?

@jeffpaul jeffpaul added this to the 0.10.0 milestone Sep 17, 2024
Copy link
Collaborator

@kasparsd kasparsd left a comment

Choose a reason for hiding this comment

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

This is a nice cleanup! Looks good!

@kasparsd kasparsd merged commit 8405126 into WordPress:master Sep 18, 2024
3 of 24 checks passed
@szepeviktor
Copy link
Contributor Author

Glad to contribute.

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.

4 participants