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

feat: add fixtures for get_post_types and get_taxonomies functions #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shvlv
Copy link
Contributor

@shvlv shvlv commented Oct 21, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.

What is the current behavior? (You can also link to an open issue here)
A static analysis tool cannot understand whether functions return an array of strings or an array of objects.

What is the new behavior (if this is a feature change)?
Add template-based fixtures with conditional return types.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.

Other information:

@shvlv shvlv requested a review from gmazzap October 21, 2024 07:11
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.

1 participant