in Symfony4
[debug] Running '/usr/bin/php7.3' '-n' '-c' '/tmp/SQ8qlM' 'vendor-bin/phan/vendor/bin/phan' '--config-file' '.phan/config.php' '--require-config-exists'
lib/HooksHandler.php:141 PhanDeprecatedFunction Call to deprecated function \Symfony\Component\EventDispatcher\GenericEvent::stopPropagation() defined at ../../lib/composer/symfony/event-dispatcher/Event.php:34
[debug] Restarted process exited 1
Makefile:134: recipe for target 'test-php-phan' failed
make: *** [test-php-phan] Error 1
See lib/HooksHandler.php generatePassword()
public function generatePassword(GenericEvent $event) {
$this->fixDI();
$event['password'] = $this->engine->generatePassword();
/* ToDo: issue 278 - deprecated since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead */
/* @phan-suppress-next-line PhanDeprecatedFunction */
$event->stopPropagation();
}
The phan message has been suppressed.
This will need to be fixed "some time" before Symfony5
in Symfony4
See
lib/HooksHandler.phpgeneratePassword()The
phanmessage has been suppressed.This will need to be fixed "some time" before Symfony5