Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Jan 29, 2025

The str_getcsv is used on rector-symfony, see

https://github.com/rectorphp/rector-symfony/actions/runs/13029243732/job/36344650111#step:5:28

which test show the error.

2 tests triggered 1 PHP deprecation:

1) /home/runner/work/rector-symfony/rector-symfony/vendor/rector/rector-src/src/PhpParser/NodeTransformer.php:139
str_getcsv(): the $escape parameter must be provided as its default value will change

Triggered by:

* Rector\Symfony\Tests\Symfony42\Rector\New_\StringToArrayArgumentProcessRector\StringToArrayArgumentProcessRectorTest::test#1 (4 times)
  /home/runner/work/rector-symfony/rector-symfony/rules-tests/Symfony42/Rector/New_/StringToArrayArgumentProcessRector/StringToArrayArgumentProcessRectorTest.php:14

* Rector\Symfony\Tests\Symfony42\Rector\New_\StringToArrayArgumentProcessRector\StringToArrayArgumentProcessRectorTest::test#7
  /home/runner/work/rector-symfony/rector-symfony/rules-tests/Symfony42/Rector/New_/StringToArrayArgumentProcessRector/StringToArrayArgumentProcessRectorTest.php:14

on PR:

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 657daff into main Jan 29, 2025
88 checks passed
@samsonasik samsonasik deleted the fix-str-getcsv branch January 29, 2025 10:39
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants