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] EloquentMagicMethodToQueryBuilderRector provides incorrect doc sample #172

Merged

Conversation

peterfox
Copy link
Collaborator

Changes

  • Corrects the sample docs of the EloquentMagicMethodToQueryBuilderRector rule
  • Docs updated.

Why

Without this fix the composer docs script fails to generate the new rules documentation for the repo

Notes

I'm not sure why the command is now removing lots of examples. Possible that they've been added manually?

@driftingly
Copy link
Owner

Thanks @peterfox, looks like updating symplify/rule-doc-generator to the latest mostly fixes the issue:

-        "symplify/rule-doc-generator": "^11.0",
+        "symplify/rule-doc-generator": "^12.1.1",

There are still a few blocks removed, but those appear to be where the docs generator would insert an example configuration. Looks like it doesn't do that anymore 🤷

Can you update the rule-doc-generator and generate it again?

@peterfox
Copy link
Collaborator Author

@driftingly I've done as asked.

@driftingly driftingly merged commit 30f1bfd into driftingly:main Jan 27, 2024
5 checks passed
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.

2 participants