-
-
Notifications
You must be signed in to change notification settings - Fork 738
PHP Fatal Error: Cannot redeclare Functional\* #3383
Copy link
Copy link
Closed
Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | 0.7.26 |
| Installed as | composer dependency |
Minimal PHP Code Causing Issue
There seems to be some kind of problem in a project using lstrojny/functional-php. What I've seen so far is that seems to crash when a file imports a function that was already imported in another file. Related issues #3145. I've created an example repository with failing code.
The CLI I've used is
php vendor/bin/rector process --dry-run -vvvvv
Expected Behaviour
To finish the process without fatal errors.
Reactions are currently unavailable