Skip to content

Fixed PHP 8.4 deprecation#590

Merged
ramsey merged 2 commits intoramsey:4.xfrom
PNardman:4.x
May 26, 2025
Merged

Fixed PHP 8.4 deprecation#590
ramsey merged 2 commits intoramsey:4.xfrom
PNardman:4.x

Conversation

@PNardman
Copy link
Copy Markdown
Contributor

@PNardman PNardman commented Mar 5, 2025

Description

Fixed deprecation warning for str_getcsv in php 8.4, since the default parameter will change, by providing the parameter explicitly.

Sidenote: some of the vendor packages still have the same issue with deprecation warnings when running code maintenance tools. They should be updated as well.

Closes #587

Motivation and context

Removing deprecation warnings, when upgrading to php 8.4

How has this been tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

PR checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • I have added tests to cover my changes.

@PNardman PNardman requested a review from ramsey as a code owner March 5, 2025 10:50
@PNardman
Copy link
Copy Markdown
Contributor Author

Any input if something needs changing/can be merged? @ramsey

@codecov
Copy link
Copy Markdown

codecov bot commented May 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.16%. Comparing base (716f668) to head (f96f44a).
⚠️ Report is 47 commits behind head on 4.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##                4.x     #590   +/-   ##
=========================================
  Coverage     95.16%   95.16%           
  Complexity      584      584           
=========================================
  Files            70       70           
  Lines          1840     1840           
=========================================
  Hits           1751     1751           
  Misses           89       89           
Files with missing lines Coverage Δ
src/Provider/Dce/SystemDceSecurityProvider.php 100.00% <100.00%> (ø)

@ramsey
Copy link
Copy Markdown
Owner

ramsey commented May 26, 2025

Thank you for contributing! 🎉

@ramsey ramsey merged commit fd7c1c9 into ramsey:4.x May 26, 2025
31 checks passed
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.

PHP 8.4 Deprecation warning

2 participants