!!!IMPORTANT!!!
The following upgrading instructions are cumulative. That is, if you want to upgrade from version A to version C and there is version B between A and C, you need to follow the instructions for both A and B.
- new parameter
$config
was added to\Mougrim\XdebugProxy\Factory\Factory::createRequestPreparers()
, if you implement\Mougrim\XdebugProxy\Factory\Factory
interface, then implement this parameter too - now
\Mougrim\XdebugProxy\Factory\SoftMocksFactory::createConfig()
should return\Mougrim\XdebugProxy\Config\SoftMocksConfig
, so if you redeclared this method, then return\Mougrim\XdebugProxy\Config\SoftMocksConfig
or inheritor in it
- use interface
\Mougrim\XdebugProxy\RequestPreparer\RequestPreparer
instead of\Mougrim\XdebugProxy\RequestPreparer
- check your php version, now php 7.1 is minimum php version
- check interface compatible for:
\Mougrim\XdebugProxy\Handler\DefaultIdeHandler
\Mougrim\XdebugProxy\RequestPreparer\RequestPreparer
\Mougrim\XdebugProxy\Xml\XmlDocument
\Mougrim\XdebugProxy\Proxy
\Mougrim\XdebugProxy\Runner
- New parameter
$config
was added to\Mougrim\XdebugProxy\Factory\Factory::createIdeHandler()
, if you implement\Mougrim\XdebugProxy\Factory\Factory
interface, then implement this parameter too. - New parameter
$config
was added to\Mougrim\XdebugProxy\Handler\DefaultIdeHandler
's constructor, if you extends this class' constructor, then implement this parameter. - Now by default
defaultIde
is'127.0.0.1:9000'
andpredefinedIdeList
is'idekey' => '127.0.0.1:9000'
. Pass inconfig.php
ideServer
with'defaultIde' => ''
and'predefinedIdeList' => []
if you don't need default ide and predefined ide list. See README.md for more details aboutconfig.php
.
- class
\Mougrim\XdebugProxy\RequestPreparer
is deprecated and will be removed in next releases, use\Mougrim\XdebugProxy\RequestPreparer\RequestPreparer
instead of it \Mougrim\XdebugProxy\Handler\CommandToXdebugParser::buildCommand()
method was added, implement this method if you implement it