Skip to content

Commit d386b43

Browse files
committed
Remove XML validation disabling deprecation.
1 parent 398ab05 commit d386b43

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php

-10
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Doctrine\ORM\Mapping\Driver;
66

77
use Doctrine\Common\Collections\Criteria;
8-
use Doctrine\Deprecations\Deprecation;
98
use Doctrine\ORM\Mapping\Builder\EntityListenerBuilder;
109
use Doctrine\ORM\Mapping\ClassMetadata;
1110
use Doctrine\ORM\Mapping\MappingException;
@@ -56,15 +55,6 @@ public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENS
5655
);
5756
}
5857

59-
if (! $isXsdValidationEnabled) {
60-
Deprecation::trigger(
61-
'doctrine/orm',
62-
'https://github.com/doctrine/orm/pull/6728',
63-
'Using XML mapping driver with XSD validation disabled is deprecated'
64-
. ' and will not be supported in Doctrine ORM 3.0.'
65-
);
66-
}
67-
6858
if ($isXsdValidationEnabled && ! extension_loaded('dom')) {
6959
throw new LogicException(
7060
'XSD validation cannot be enabled because the DOM extension is missing.'

0 commit comments

Comments
 (0)