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

TCMN-177 Correction to docblocks for where and all methods #2341

Merged
merged 10 commits into from
Jan 27, 2025

Conversation

sdokus
Copy link
Contributor

@sdokus sdokus commented Jan 8, 2025

🎫 Ticket

TCMN-177

🗒️ Description

A user reported that they were seeing errors in PHPStan when trying to use the ORM and in reviewing our doc blocks for some methods, it seems like some updates are needed to more accurately reflect what is returned (all) or how many arguments are accepted (where).

🎥 Artifacts

After changes:
CleanShot 2025-01-24 at 13 17 13

✔️ Checklist

  • Ran npm run changelog to add changelog file(s). More info here
  • Code is covered by NEW wpunit or integration tests.
  • Code is covered by EXISTING wpunit or integration tests.
  • Are all the required tests passing?
  • Automated code review comments are addressed.
  • Have you added Artifacts?
  • Check the base branch for your PR.
  • Add your PR to the project board for the release.

@sdokus sdokus added question Needs an answer to one or more questions before merging. code review Status: requires a code review. labels Jan 8, 2025
@sdokus sdokus self-assigned this Jan 8, 2025
@sdokus sdokus changed the base branch from release/T25.imp to release/T25.antman January 22, 2025 16:59
@sdokus sdokus removed the question Needs an answer to one or more questions before merging. label Jan 24, 2025
@bordoni
Copy link
Member

bordoni commented Jan 24, 2025

Check the PHPStan on GHA, it seems like 512 is not enough memory.

src/Tribe/Repository/Core_Read_Interface.php Outdated Show resolved Hide resolved
src/Tribe/Repository/Core_Read_Interface.php Outdated Show resolved Hide resolved
@sdokus sdokus requested a review from rafsuntaskin January 24, 2025 21:45
@sdokus
Copy link
Contributor Author

sdokus commented Jan 24, 2025

Check the PHPStan on GHA, it seems like 512 is not enough memory.

Whoops just seeing this, but I think that is an expected issue but Dimi is planning on addressing it later

@sdokus sdokus merged commit e8d4e76 into release/T25.antman Jan 27, 2025
18 of 20 checks passed
@sdokus sdokus deleted the fix/TCMN-177-correct-ORM-docblock-returns branch January 27, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code review Status: requires a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants