Fix Normalizer polyfill escaping
[MAILPOET-3105]
This commit is contained in:
committed by
Veljko V
parent
4f1a2510b7
commit
ceb69a5804
@ -7,5 +7,10 @@ set_error_handler(function ($severity, $message, $file, $line) {
|
|||||||
|
|
||||||
$file = __DIR__ . '/../vendor-prefixed/symfony/polyfill-intl-idn/Idn.php';
|
$file = __DIR__ . '/../vendor-prefixed/symfony/polyfill-intl-idn/Idn.php';
|
||||||
$data = file_get_contents($file);
|
$data = file_get_contents($file);
|
||||||
$data = str_replace('use Normalizer;', 'use MailPoetVendor\\Normalizer;', $data);
|
$data = str_replace('\\Normalizer::', '\\MailPoetVendor\\Normalizer::', $data);
|
||||||
|
file_put_contents($file, $data);
|
||||||
|
|
||||||
|
$file = __DIR__ . '/../vendor-prefixed/symfony/polyfill-intl-normalizer/Normalizer.php';
|
||||||
|
$data = file_get_contents($file);
|
||||||
|
$data = str_replace('\\Normalizer::', '\\MailPoetVendor\\Normalizer::', $data);
|
||||||
file_put_contents($file, $data);
|
file_put_contents($file, $data);
|
||||||
|
Reference in New Issue
Block a user