Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Oct 30, 2023
1 parent a293cd6 commit aab2bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Prefixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public function replaceNamespace($contents, $originalNamespace, $replacement)
|\\n\s* # start of the line
|(^\s*namespace|[\r\n]+\s*namespace)\s+ # the namespace keyword
|use\s+ # the use keyword
|use\s+function\s+ # the use function syntax
|new\s+
|static\s+
|\" # inside a string that does not contain spaces - needs work
Expand Down

0 comments on commit aab2bf6

Please sign in to comment.