-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Formatting a php document causes an issue with yield from statements. yield works fine but when yield from is used, the space after "from" is removed causing syntax errors:
class MyClass {
function generator() {
yield from AnotherClass::action();
}
}Becomes
class MyClass {
function generator() {
yield fromAnotherClass::action();
}
}PHP now looks for fromAnotherClass as a class name which doesn't exist.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working