Skip to content

Fix str_getcsv notice. Escape parameter default will change#64

Merged
frankdekker merged 2 commits intomasterfrom
Fix-php8.5-notice
Dec 29, 2025
Merged

Fix str_getcsv notice. Escape parameter default will change#64
frankdekker merged 2 commits intomasterfrom
Fix-php8.5-notice

Conversation

@frankdekker
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a future PHP deprecation notice related to the str_getcsv function's escape parameter default value and enhances PHPUnit configuration for stricter testing standards.

  • Explicitly sets the escape parameter in str_getcsv to maintain current behavior and silence deprecation warnings
  • Updates PHPUnit configuration with stricter test execution settings and deprecation handling

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Rule/RuleParser.php Explicitly sets the escape parameter for str_getcsv() to "\\" to future-proof against PHP default changes
phpunit.xml.dist Adds stricter PHPUnit configuration options including failure flags, detail display settings, and Symfony deprecation helper configuration; removes bootstrap (auto-detected by PHPUnit 10+) and executionOrder attributes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@frankdekker frankdekker merged commit 6cbc336 into master Dec 29, 2025
24 checks passed
@frankdekker frankdekker deleted the Fix-php8.5-notice branch December 29, 2025 15:00
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.

3 participants