-
-
Notifications
You must be signed in to change notification settings - Fork 18
Add missing use function imports in NumericHelper #157
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
…s_with Co-authored-by: samdark <47294+samdark@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
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.
Pull request overview
This PR improves code consistency by adding missing use function imports for built-in PHP functions used in the trimDecimalZeros method. The file already follows a pattern of explicitly importing all functions used, and these three were inadvertently omitted.
Key Changes:
- Added
use functionimports forrtrim,str_contains, andstr_ends_withfunctions that are used in thetrimDecimalZerosmethod
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The
trimDecimalZerosmethod usesrtrim,str_contains, andstr_ends_withwithout importing them viause functionstatements, inconsistent with the file's existing style.Changes:
use function rtrim;use function str_contains;use function str_ends_with;All imports added in alphabetical order alongside existing function imports (lines 10-23).
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.