-
-
Notifications
You must be signed in to change notification settings - Fork 2
ControlMakeCommand - badly interpreted perimeter generation #14
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
Conversation
WalkthroughThis change updates the generated code for perimeter implementations in the Changes
Possibly related PRs
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
README.md (1)
49-49: Correct noun-verb confusion in documentation
The phrase “Then setup your policy:” uses “setup” as a noun. It should read “Then set up your policy:” for proper verb usage.🧰 Tools
🪛 LanguageTool
[grammar] ~49-~49: The word “setup” is a noun. The verb is spelled with a space.
Context: ... }), // ...Then setup your policy:php class PostPolicy e...(NOUN_VERB_CONFUSION)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
README.md(1 hunks)src/Console/ControlMakeCommand.php(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- src/Console/ControlMakeCommand.php
🧰 Additional context used
🪛 LanguageTool
README.md
[grammar] ~49-~49: The word “setup” is a noun. The verb is spelled with a space.
Context: ... }), // ... Then setup your policy: php class PostPolicy e...
(NOUN_VERB_CONFUSION)
🔇 Additional comments (2)
README.md (2)
43-45: Confirm the updated query condition
Switching fromorWhere('client_id', …)to a strictwhere('client_id', …)will exclusively filter to the current client. Please verify this matches your intended access control logic and doesn’t omit any valid scenarios.
52-52: Class declaration formatting approved
Removing the extra indentation beforeclass PostPolicyimproves consistency with other PHP class definitions.
This PR Fix generates a control.
The “\n” are not interpreted in the heredoc syntax.
So I made the following changes
Summary by CodeRabbit