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

Removing the $n function #254

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Removing the $n function #254

merged 3 commits into from
Nov 25, 2024

Conversation

darylldoyle
Copy link
Collaborator

Description of the Change

This function makes it difficult for IDEs to work correctly as they’re dynamically defined. It also doesn’t play nice with static analysis systems.

Closes #246

How to test the Change

Tested Locally

Changelog Entry

  • Removed - $n function, in preference of passing the namespace manually

Checklist:

This function makes it difficult for IDEs to work correctly as they’re dynamically defined. It also doesn’t play nice with static analysis systems.

Fixes #246
@darylldoyle darylldoyle self-assigned this Nov 25, 2024
@darylldoyle darylldoyle force-pushed the feature/remove-n-function branch from 72871ef to 73333e7 Compare November 25, 2024 11:06
Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

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

🚀

@darylldoyle darylldoyle merged commit 00b91e6 into trunk Nov 25, 2024
2 checks passed
@darylldoyle darylldoyle deleted the feature/remove-n-function branch November 25, 2024 11:07
@tobeycodes
Copy link
Member

This makes me so happy ❤️ IDE integration and dead code detection ftw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove magic $n function
3 participants