Skip to content
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

Php 8.4 Will Deprecate fgetcsv Parameter #4162

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Conversation

oleibman
Copy link
Collaborator

@oleibman oleibman commented Sep 6, 2024

As described in issue #4161, Php seems to be prepared to break the fgetcsv function in release 9, marking the existing usage deprecated in 8.4. This gives us a long-term problem. This PR provides a short-term solution.

This is:

  • a bugfix
  • a new feature
  • refactoring
  • additional unit tests
  • change in Php function

Checklist:

  • Changes are covered by unit tests
    • Changes are covered by existing unit tests
    • New unit tests have been added
  • Code style is respected
  • Commit message explains why the change is made (see https://github.com/erlang/otp/wiki/Writing-good-commit-messages)
  • CHANGELOG.md contains a short summary of the change and a link to the pull request if applicable
  • Documentation is updated as necessary

Why this change is needed?

Provide an explanation of why this change is needed, with links to any Issues (if appropriate).
If this is a bugfix or a new feature, and there are no existing Issues, then please also create an issue that will make it easier to track progress with this PR.

As described in issue PHPOffice#4161, Php seems to be prepared to break the fgetcsv function in release 9, marking the existing usage deprecated in 8.4. This gives us a long-term problem. This PR provides a short-term solution.
Enable us to determine if user has explicitly changed escape character vs. using default.
@oleibman oleibman added this pull request to the merge queue Sep 7, 2024
Merged via the queue into PHPOffice:master with commit 6c9b2a8 Sep 7, 2024
13 checks passed
oleibman added a commit that referenced this pull request Sep 8, 2024
Backports of PR #4162 and PR #4164 intended for Php 3.0.0.


Signed-off-by: oleibman <[email protected]>
oleibman added a commit that referenced this pull request Sep 8, 2024
Backports of PR #4162 and PR #4164 intended for 3.0.0.
@oleibman oleibman deleted the csv84 branch November 10, 2024 19:36
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.

1 participant