Skip to content

Conversation

@samsonasik
Copy link
Member

No description provided.

@samsonasik
Copy link
Member Author

samsonasik commented Jan 29, 2025

with --display-deprecations, on PHP 8.4, it shows:

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

which str_getcsv needs explicit escape argument.

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

Ref PR:

for the fix.

@samsonasik
Copy link
Member Author

It seems cause pending github action due to rename / add matrix php

 Tests Expected — Waiting for status to be reported 

this is ok to be closed since on php 8.4 issue already resolved in rector-src. Closing now.

@samsonasik samsonasik closed this Jan 29, 2025
@samsonasik samsonasik deleted the add-php83-84 branch January 29, 2025 10:43
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.

2 participants