The default_formatter configuration node will become required.
sonata_formatter:
default_formatter: my_formatterProviding a logger to a Sonata\FormatterBundle\Formatter\Pool instance should
now be done through the setLogger method.
Before:
use Sonata\FormatterBundle\Formatter\Pool;
new Pool($myLogger, 'myFormatter');After:
$pool = new Pool('myFormatter');
$pool->setLogger($myLogger);Instantiating the Sonata\FormatterBundle\Formatter\Pool class should be done
with a $defaultFormatter argument.
Before:
use Sonata\FormatterBundle\Formatter\Pool;
new Pool();After:
use Sonata\FormatterBundle\Formatter\Pool;
new Pool('myFormatter');All files under the Tests directory are now correctly handled as internal test classes.
You can't extend them anymore, because they are only loaded when running internal tests.
More information can be found in the composer docs.