Skip to content

Commit

Permalink
class_exists() it won't trigger autoloading because it may not work [C…
Browse files Browse the repository at this point in the history
…loses #497]
  • Loading branch information
dg committed Jun 30, 2021
1 parent b499b2e commit 0e9fb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracy/BlueScreen/BlueScreen.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private function renderActions(\Throwable $ex): array
if (preg_match('# ([\'"])(\w{3,}(?:\\\\\w{3,})+)\1#i', $ex->getMessage(), $m)) {
$class = $m[2];
if (
!class_exists($class) && !interface_exists($class) && !trait_exists($class)
!class_exists($class, false) && !interface_exists($class, false) && !trait_exists($class, false)
&& ($file = Helpers::guessClassFile($class)) && !is_file($file)
) {
$actions[] = [
Expand Down

0 comments on commit 0e9fb31

Please sign in to comment.