Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.
- Use of
@deprecated
docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan) - Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/
We don't think anyone catches this exception in a catch (CommonException)
statement.
If you rely on types from doctrine/common
, you should require that package, regardless of whether other packages require it.
The FixtureInterface was changed from
interface FixtureInterface
{
load($manager);
}
to
use Doctrine\Common\Persistence\ObjectManager;
interface FixtureInterface
{
load(ObjectManager $manager);
}