-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
remove trailing space(s) from var_export
#32839
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
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_whitespace ``` 'enabledPreviewProviders' => ```
|
Thanks @xerc for sending a pull request 👍 Would you mind to add some words what this patch does and why? |
| $content = "<?php\n"; | ||
| $content .= '$CONFIG = '; | ||
| $content .= var_export($this->cache, true); | ||
| $content .= preg_replace('/\s+$/m', '', var_export($this->cache, true)); |
Check failure
Code scanning / Psalm
TaintedHtml
| $content = "<?php\n"; | ||
| $content .= '$CONFIG = '; | ||
| $content .= var_export($this->cache, true); | ||
| $content .= preg_replace('/\s+$/m', '', var_export($this->cache, true)); |
Check failure
Code scanning / Psalm
TaintedHtml
xerc
left a comment
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.
TaintedHtml false-positives
|
As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. |

https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_whitespace