Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e70a80a

Browse filesBrowse files
committed
Adapt regex for enum in MergeExtensionConfigurationParameterBag
1 parent 86db5cb commit e70a80a
Copy full SHA for e70a80a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function freezeAfterProcessing(Extension $extension, ContainerBuilder $co
121121
return;
122122
}
123123

124-
preg_match_all('/env_[a-f0-9]{16}_\w+_[a-f0-9]{32}/Ui', $config, $matches);
124+
preg_match_all('/env_[a-f0-9]{16}_(\w|\\\\)+_[a-f0-9]{32}/Ui', $config, $matches);
125125
$usedPlaceholders = array_flip($matches[0]);
126126
foreach (parent::getEnvPlaceholders() as $env => $placeholders) {
127127
foreach ($placeholders as $placeholder) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.