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 phpstan v0.12.99 static analysis failures #6600

Merged
merged 8 commits into from
Sep 13, 2021

Conversation

westonruter
Copy link
Member

Summary

Some commits cherry-picked from #6456.

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@westonruter westonruter added this to the v2.2 milestone Sep 12, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Sep 12, 2021

Plugin builds for 5185da3 are ready 🛎️!

@westonruter westonruter requested a review from pierlon September 12, 2021 20:58
@westonruter westonruter mentioned this pull request Sep 12, 2021
2 tasks
Copy link
Contributor

@pierlon pierlon left a comment

Choose a reason for hiding this comment

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

LGTM.

@pierlon
Copy link
Contributor

pierlon commented Sep 12, 2021

Just a note, there's another error this PR doesn't resolve but it only occurs with PHP 8:

image

We could resolve that in #6466 if needs be.

@westonruter
Copy link
Member Author

We could resolve that in #6466 if needs be.

Yes, please do.

@westonruter westonruter merged commit 3cf3240 into develop Sep 13, 2021
@westonruter westonruter deleted the fix/phpstan-failures branch September 13, 2021 00:54
@westonruter
Copy link
Member Author

Oh, I forgot that change was part of the other PR as well: https://github.com/ampproject/amp-wp/pull/6456/files#r673052243.

Well, if I merge the page caching PR first, then it won't need to be part of #6466. If not, then it will 😄

@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants