-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ChildInterface.php #67
Conversation
Some reactphp component are not support return type because they support >=5.4. When we use reactphp/filesystem it doesn't work. I think we don't need return type declaration Incompatiable package https://github.com/reactphp/filesystem/blob/master/src/ChildProcess/Process.php#L18
I use php 7.4. I need to install react/filesystem package. When i add platform config into composer.json gile it works fine now.
|
When the platform is set to php 7.3, composer installs 1.7.0 version of this package what is too old. @WyriHaximus do you have any suggestion about how Thanks. |
public static function create(Messenger $messenger, LoopInterface $loop): void; | ||
public static function create(Messenger $messenger, LoopInterface $loop); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That void
return type hint isn't a bug, and intentional as well. However, if I can get the react/filesystem
package to work with it removed. I'm accepting that for now and tag 4.0.0
on this package to get it unblocked. Will then do a 5.0.0
later on with additional changes I've had in mind.
v4 has been released and resolved the issue with |
Some reactphp component are not support return type because they support >=5.4. When we use reactphp/filesystem it doesn't work. I think we don't need return type declaration
Incompatiable package
https://github.com/reactphp/filesystem/blob/master/src/ChildProcess/Process.php#L18