Alters tests to use PHPUnit mocks enabling the removal of 2 dev dependencies
Updates locked dependencies
Bumps dev dependencies to most recent versions
Expands psalm baseline with newly discovered issues, removing those solved by using phpunit mocks
There is 1 failing test case that should pass IMO - the previous prophecy constraint did not assert that init() is called only once for input filters. It is called twice because init is called from validate in input filter plugin manager, and validate is called both in setService and in get of AbstractPluginManager. I'm not convinced this is desirable behaviour, regardless, it can't be fixed here.
Description
There is 1 failing test case that should pass IMO - the previous prophecy constraint did not assert that
init()
is called only once for input filters. It is called twice becauseinit
is called fromvalidate
in input filter plugin manager, andvalidate
is called both insetService
and inget
ofAbstractPluginManager
. I'm not convinced this is desirable behaviour, regardless, it can't be fixed here.