From 29ccf74a5cd6ba7a40ce66756d4a1660cece42e3 Mon Sep 17 00:00:00 2001
From: Brian Henry <BrianHenryIE@gmail.com>
Date: Thu, 18 Feb 2021 12:55:36 -0800
Subject: [PATCH] oops

---
 src/Replace/NamespaceReplacer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Replace/NamespaceReplacer.php b/src/Replace/NamespaceReplacer.php
index 7b418895..022cea11 100644
--- a/src/Replace/NamespaceReplacer.php
+++ b/src/Replace/NamespaceReplacer.php
@@ -31,7 +31,7 @@ public function replace($contents, $file = null)
                   (?<![a-zA-Z0-9_]\\\\)      # Not a class-allowed character followed by a slash
                   (?<!class\s)				 # Not a class declaration
                   $searchNamespace			 # The namespace were looking for
-                  (?=;|\\\|\\|\sas)			 # Followed by one of
+                  (?=;|\\\|\||\sas)			 # Followed by one of
                   							 # semicolon when it is the class namespace itself
                   				             # backslash when it is part of a longer namespace or namespaced class
                   							 # pipe