Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix invalid docs and return types as highlighted by static analysis#645

Merged
mukeshpanchal27 merged 6 commits into
trunkWordPress/performance:trunkfrom
bug/static-test-fixesWordPress/performance:bug/static-test-fixesCopy head branch name to clipboard
Feb 7, 2023
Merged

Fix invalid docs and return types as highlighted by static analysis#645
mukeshpanchal27 merged 6 commits into
trunkWordPress/performance:trunkfrom
bug/static-test-fixesWordPress/performance:bug/static-test-fixesCopy head branch name to clipboard

Conversation

@kt-12

@kt-12 kt-12 commented Feb 6, 2023

Copy link
Copy Markdown
Member

Summary

Fixes #622

Fix issues with doc type and return that was throwing error in static test.

Relevant technical choices

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

@kt-12 kt-12 added [Type] Bug An existing feature is broken Miscellaneous Issues not related to an existing focus area Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release labels Feb 6, 2023
@kt-12 kt-12 changed the title Static test bug fixes Static test - fix doc types and return Feb 6, 2023
@felixarntz felixarntz added this to the 2.0.0 milestone Feb 6, 2023
@felixarntz felixarntz added [Focus] Database and removed no milestone PRs that do not have a defined milestone for release Miscellaneous Issues not related to an existing focus area labels Feb 6, 2023

@felixarntz felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@kt-12 Thanks, LGTM!

@felixarntz felixarntz changed the title Static test - fix doc types and return Fix invalid docs and return types as highlighted by static analysis Feb 6, 2023
@felixarntz

Copy link
Copy Markdown
Member

@aristath This fixes a few minor things in the SQLite module, so I wanted to make sure you see this. Right now we're in a bit of an unfortunate situation of having the code duplicated, so can you make sure to address this in your plugin as well? Should be a quick fix. (The return types need to align with the parent classes, for example.)

@felixarntz

Copy link
Copy Markdown
Member

@mukeshpanchal27 Can you give this a 2nd review and approval please?

@mukeshpanchal27 mukeshpanchal27 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @kt-12, The changes look good to me!

@mukeshpanchal27
mukeshpanchal27 merged commit b26dca8 into trunk Feb 7, 2023
@mukeshpanchal27
mukeshpanchal27 deleted the bug/static-test-fixes branch February 7, 2023 04:00
aristath added a commit to WordPress/sqlite-database-integration that referenced this pull request Feb 7, 2023
@aristath

aristath commented Feb 7, 2023

Copy link
Copy Markdown
Member

Backported to the standalone plugin as well 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Infrastructure Issues for the overall performance plugin infrastructure [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benefit from static analysis

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.