Skip to content

[Serializer][Translation] Deprecate passing a non-empty CSV escape char #57827

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

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.2
Bug fix? no
New feature? no
Deprecations? yes
Issues -
License MIT

Using a non-empty string for CSV escape char will be deprecated in 8.4. Let's deprecate where relevant in the codebase?

@carsonbot carsonbot added this to the 7.2 milestone Jul 25, 2024
nicolas-grekas added a commit that referenced this pull request Jul 26, 2024
…P >= 7.4 (alexandre-daubois)

This PR was merged into the 5.4 branch.

Discussion
----------

[Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Related to #57827. This check has already been done in other places like:

https://github.com/symfony/symfony/blob/4a176ceb4b67d1f17cdfb88ecc0946e47a807f65/src/Symfony/Component/DependencyInjection/EnvVarProcessor.php#L310

Commits
-------

0507c22 [Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4
@alexandre-daubois
Copy link
Member Author

For the record, the deprecation poll is closed and it has been confirmed for 8.4: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_proprietary_csv_escaping_mechanism

@alexandre-daubois alexandre-daubois force-pushed the deprec-csv-escape branch 3 times, most recently from 5dc0f15 to 9515a39 Compare August 13, 2024 14:59
@fabpot
Copy link
Member

fabpot commented Aug 19, 2024

Thank you @alexandre-daubois.

@fabpot fabpot merged commit 5d47bea into symfony:7.2 Aug 19, 2024
8 of 10 checks passed
@fabpot fabpot mentioned this pull request Oct 27, 2024
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.

6 participants