Skip to content

Enable explicit_indirect_variable #4881

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

Merged

Conversation

paulbalandan
Copy link
Member

Description
Add curly braces to indirect variables to make them clear to understand.

Checklist:

  • Securely signed commits

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

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

I probably wouldn't have chosen this but it does seem to be for the best. Variable methods and variables are often overlooked when scanning code, this makes that very certain it won't happen. 😵‍💫

@paulbalandan paulbalandan merged commit 308d0be into codeigniter4:develop Jun 28, 2021
@paulbalandan paulbalandan deleted the explicit-indirect-variable branch June 28, 2021 14:10
element-code pushed a commit to element-code/CodeIgniter4 that referenced this pull request Aug 2, 2021
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