Skip to content

Commit

Permalink
fix: autoloader exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmikita committed Jun 2, 2024
1 parent 801e818 commit 1c75fbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compat/src-deprecated/namespaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

$newClass = str_replace($oldNamespace, $newNamespace, $class);

if (! class_exists($newClass)) {
break;
}

notification_deprecated_class($class, $version, $newClass);

class_alias($newClass, $class);
Expand Down

0 comments on commit 1c75fbc

Please sign in to comment.