-
-
Notifications
You must be signed in to change notification settings - Fork 738
PHP Fatal Error: Cannot redeclare Functional\* #3145
Copy link
Copy link
Closed
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | dev-master@d5329e5 |
| Installed as | composer global |
Minimal PHP Code Causing Issue
Running on a project using lstrojny/functional-php:
PHP Fatal error: Cannot redeclare Functional\filter() (previously declared in /Users/me/example-project/vendor/lstrojny/functional-php/src/Functional/Filter.php:23) in /Users/me/example-project/vendor/lstrojny/functional-php/src/Functional/filter.php on line 23
This is the case for all functions exported by this library that I've tried (eg. map, select, etc...)
Expected Behaviour
No errors should be thrown.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels