Details
Details
bin/celerity map fails with this error using the latest phorgeit/master
[2023-12-12 19:07:39] EXCEPTION: (Error) Call to undefined method PhutilErrorHandler::addErrorListener() at [<phorge>/src/applications/system/events/PhorgeSystemDeprecationWarningListener.php:15] arcanist(head=stable, ref.master=97e163187418, ref.stable=b5140eed542a), phorge(head=custom, ref.custom=2236dcb7c38e, custom=2), wmf-ext-misc(head=custom, ref.custom=233256764d5b) #0 PhorgeSystemDeprecationWarningListener::register() called at [<phorge>/src/infrastructure/events/PhabricatorEventEngine.php:42] #1 PhabricatorEventEngine::initialize() called at [<phorge>/src/infrastructure/env/PhabricatorEnv.php:133] #2 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phorge>/src/infrastructure/env/PhabricatorEnv.php:75] #3 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phorge>/scripts/init/lib.php:26] #4 init_phabricator_script(array) called at [<phorge>/scripts/init/init-setup.php:11] #5 require_once(string) called at [<phorge>/scripts/setup/manage_celerity.php:5]
I assume it was introduced in https://we.phorge.it/rP2ba2cbaf9bbf8f88e910d3da0a3cd643e4879e8a . Possibly used addErrorListener where setErrorListener should be used?