1 diff -urNp vendor/doctrine/orm/src/Mapping/Driver/SimplifiedYamlDriver.php.orig vendor/doctrine/orm/src/Mapping/Driver/SimplifiedYamlDriver.php
2 --- vendor/doctrine/orm/src/Mapping/Driver/SimplifiedYamlDriver.php.orig 2024-10-18 04:58:29.978540376 +0200
3 +++ vendor/doctrine/orm/src/Mapping/Driver/SimplifiedYamlDriver.php 2024-10-18 05:00:01.399291026 +0200
4 @@ -8,10 +8,6 @@ use Doctrine\Persistence\Mapping\Driver\
7 * YamlDriver that additionally looks for mapping information in a global file.
9 - * @deprecated This class is being removed from the ORM and won't have any replacement
11 - * @phpstan-ignore class.extendsDeprecatedClass
13 class SimplifiedYamlDriver extends YamlDriver
15 diff -urNp vendor/doctrine/orm/src/Mapping/Driver/YamlDriver.php.orig vendor/doctrine/orm/src/Mapping/Driver/YamlDriver.php
16 --- vendor/doctrine/orm/src/Mapping/Driver/YamlDriver.php.orig 2024-10-11 13:47:24.000000000 +0200
17 +++ vendor/doctrine/orm/src/Mapping/Driver/YamlDriver.php 2024-10-18 05:01:10.189854517 +0200
18 @@ -30,8 +30,6 @@ use function substr;
20 * The YamlDriver reads the mapping metadata from yaml schema files.
22 - * @deprecated 2.7 This class is being removed from the ORM and won't have any replacement
24 * @template-extends FileDriver<array<string, mixed>>
26 class YamlDriver extends FileDriver
27 @@ -43,12 +41,6 @@ class YamlDriver extends FileDriver
29 public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)
31 - Deprecation::trigger(
33 - 'https://github.com/doctrine/orm/issues/8465',
34 - 'YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to attribute or XML driver.'
37 if (! class_exists(Yaml::class)) {
38 throw new LogicException(
39 'The YAML metadata driver cannot be enabled because the "symfony/yaml" library'