Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
296 stars 158 forks source link

event-dispatcher has removed Event::getName() #60

Closed alchzh closed 7 years ago

alchzh commented 7 years ago

The methods Event::setDispatcher(), Event::getDispatcher(), Event::setName() and Event::getName() have been removed. The event dispatcher and the event name are passed to the listener call.

Causes error like

Fatal error: Call to undefined method Proxy\Event\ProxyEvent::getName() in /home/acz13/php-proxy-app/vendor/athlon1600/php-proxy/src/Plugin/AbstractPlugin.php on line 47

Athlon1600 commented 7 years ago

Fixed:
https://github.com/Athlon1600/php-proxy/commit/12584d6892779c719d26f79bf464e7d9a2b48f88