Skip to content

Update metric normalization#1729

Merged
cleptric merged 6 commits intomasterfrom
metric-normalization
Apr 10, 2024
Merged

Update metric normalization#1729
cleptric merged 6 commits intomasterfrom
metric-normalization

Conversation

@cleptric
Copy link
Copy Markdown
Member

@cleptric cleptric commented Apr 3, 2024

@cleptric cleptric self-assigned this Apr 3, 2024
@cleptric
Copy link
Copy Markdown
Member Author

cleptric commented Apr 3, 2024

@stayallive When you look at the linked docs, regarding Line Feed, Carriage Return and Tab.
I don't think you can use these characters in PHP. Or can you?

@stayallive
Copy link
Copy Markdown
Collaborator

You can right... "\n\r\t" (only inside ")?

So technically you can, but it's a stretch anyone would do it on purpose. But should also be easy to replace right? Something like str_replace(["\n", "\r", ...], ['\n', '\r', ...], $item) I'm thinking?

@cleptric cleptric marked this pull request as ready for review April 10, 2024 11:59
Copy link
Copy Markdown
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

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

Code wise this looks good!

@cleptric cleptric merged commit 1f26c26 into master Apr 10, 2024
@cleptric cleptric deleted the metric-normalization branch April 10, 2024 12:32
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.

Metrics Normalization

3 participants