8000 bug #41549 [Security] Fix opcache preload with alias classes (jderusse) · symfony/symfony@6eead34 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6eead34

Browse files
bug #41549 [Security] Fix opcache preload with alias classes (jderusse)
This PR was merged into the 4.4 branch. Discussion ---------- [Security] Fix opcache preload with alias classes | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #39961, fix #40752 | License | MIT | Doc PR | - Commits ------- b10b695 Fix opcache preload with alias classes
2 parents 3524cf2 + b10b695 commit 6eead34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,6 @@ public function getDecisionLog(): array
107107
}
108108
}
109109

110-
class_alias(TraceableAccessDecisionManager::class, DebugAccessDecisionManager::class);
110+
if (!class_exists(DebugAccessDecisionManager::class, false)) {
111+
class_alias(TraceableAccessDecisionManager::class, DebugAccessDecisionManager::class);
112+
}

0 commit comments

Comments
 (0)
0