Skip to content

feat: use line endings of the file instead of the system#11

Open
patrickhoogkamer wants to merge 1 commit intomainfrom
detect-line-endings
Open

feat: use line endings of the file instead of the system#11
patrickhoogkamer wants to merge 1 commit intomainfrom
detect-line-endings

Conversation

@patrickhoogkamer
Copy link
Contributor

@patrickhoogkamer patrickhoogkamer commented Sep 15, 2025

This might fix line ending issues when using a Windows PHP executable where PHP_EOL would be \r\n but the file would use \n. And vice versa on MacOS/Linux.

@hansgoed
Copy link
Contributor

Can you add a test? Maybe the test data you create in the current test can be a concatenated string with different line endings written out?

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