Closed cynhard closed 4 years ago
Seem symfony/event-dispacther need to be upgrade latest version, same error encounter in yii2.
Same with symfony 3
There's a breaking change to upgrade to event-dispatcher 3.x
See migration from some other projects : https://github.com/FriendsOfSymfony/FOSUserBundle/pull/1829/files https://github.com/cpliakas/git-wrapper/pull/110/files
Basically, $event->getName()
and $event->getDispatcher()
have been removed. Those properties are now available as the second and third argument of the callback function.
I'll open a pull request to support both event-dispatcher 2.x && 3.x.
It's possible to test the Pull Request with composer require athlon1600/php-proxy:dev-master
.
You have to set my repository in composer.json
...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Toilal/php-proxy"
}
],
...
This is the information. `Problem 1