Skip to content

Locale Generator - Change to Use Unix Line Endings Even on Windows#2174

Merged
MarkBaker merged 1 commit intoPHPOffice:masterfrom
oleibman:eollocale
Jun 19, 2021
Merged

Locale Generator - Change to Use Unix Line Endings Even on Windows#2174
MarkBaker merged 1 commit intoPHPOffice:masterfrom
oleibman:eollocale

Conversation

@oleibman
Copy link
Collaborator

See issue #2172. The locale files are regenerated whenever the test suite is run.

The use of PHP_EOL in LocaleGenerator.php is awkward on Windows systems, since it causes git to think the file has changed. Change to use "\n" instead.

This is:

- [x] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

See issue PHPOffice#2172. The locale files are regenerated whenever the test suite is run.

The use of PHP_EOL in LocaleGenerator.php is awkward on Windows systems, since it causes git to think the file has changed. Change to use `"\n"` instead.
@MarkBaker MarkBaker merged commit d200c53 into PHPOffice:master Jun 19, 2021
@oleibman oleibman deleted the eollocale branch July 1, 2021 15:58
BlackyTay pushed a commit to BlackyTay/PhpSpreadsheet that referenced this pull request Aug 8, 2025
…HPOffice#2174)

See issue PHPOffice#2172. The locale files are regenerated whenever the test suite is run.

The use of PHP_EOL in LocaleGenerator.php is awkward on Windows systems, since it causes git to think the file has changed. Change to use `"\n"` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants