Skip to content

Commit f718d65

Browse files
committed
Disable XML validation
1 parent 58a29f2 commit f718d65

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

UPGRADE-5.4.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ SecurityBundle
110110
* Deprecate passing an array of arrays as 1st argument to `MainConfiguration`, pass a sorted flat array of
111111
factories instead.
112112
* Deprecate the `always_authenticate_before_granting` option
113-
* XML configured user providers and authenticators not coming from Symfony must now declare their own namespace
114113

115114
Security
116115
--------

src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ private function parseDefinition(\DOMElement $service, string $file, Definition
402402
private function parseFileToDOM(string $file): \DOMDocument
403403
{
404404
try {
405-
$dom = XmlUtils::loadFile($file, [$this, 'validateSchema']);
405+
$dom = XmlUtils::loadFile($file);
406406
} catch (\InvalidArgumentException $e) {
407407
throw new InvalidArgumentException(sprintf('Unable to parse file "%s": ', $file).$e->getMessage(), $e->getCode(), $e);
408408
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy