1 diff -urNp vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php.orig vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php
2 --- vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php.orig 2023-08-01 09:33:00.534907403 +0200
3 +++ vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php 2023-08-01 09:33:18.665060011 +0200
4 @@ -29,8 +29,6 @@ use function substr;
7 * The YamlDriver reads the mapping metadata from yaml schema files.
9 - * @deprecated 2.7 This class is being removed from the ORM and won't have any replacement
11 class YamlDriver extends FileDriver
13 @@ -41,12 +39,6 @@ class YamlDriver extends FileDriver
15 public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)
17 - Deprecation::trigger(
19 - 'https://github.com/doctrine/orm/issues/8465',
20 - 'YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to attribute or XML driver.'
23 if (! class_exists(Yaml::class)) {
24 throw new LogicException(
25 'The YAML metadata driver cannot be enabled because the "symfony/yaml" library'
26 diff -urNp vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/SimplifiedYamlDriver.php.orig vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/SimplifiedYamlDriver.php
27 --- vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/SimplifiedYamlDriver.php.orig 2023-08-01 09:33:07.084962540 +0200
28 +++ vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/SimplifiedYamlDriver.php 2023-08-01 09:33:21.845086780 +0200
29 @@ -8,8 +8,6 @@ use Doctrine\Persistence\Mapping\Driver\
32 * YamlDriver that additionally looks for mapping information in a global file.
34 - * @deprecated This class is being removed from the ORM and won't have any replacement
36 class SimplifiedYamlDriver extends YamlDriver