Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Dec 10, 2021
1 parent 0d80398 commit c5bc266
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/languages/php.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,10 @@ export default function(hljs) {
"SplMinHeap",
"SplObjectStorage",
"SplObserver",
"SplObserver",
"SplPriorityQueue",
"SplQueue",
"SplStack",
"SplSubject",
"SplSubject",
"SplTempFileObject",
"TypeError",
"UnderflowException",
Expand Down
1 change: 1 addition & 0 deletions test/markup/php/namespace.expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
<span class="hljs-keyword">use</span> <span class="hljs-keyword">function</span> <span class="hljs-title">My</span>\<span class="hljs-title">Full</span>\<span class="hljs-title">functionName</span>;
<span class="hljs-keyword">use</span> <span class="hljs-keyword">function</span> <span class="hljs-title">My</span>\<span class="hljs-title">Full</span>\<span class="hljs-title">functionName</span> <span class="hljs-keyword">as</span> <span class="hljs-title">func</span>;
<span class="hljs-keyword">use</span> <span class="hljs-keyword">const</span> <span class="hljs-title">My</span>\<span class="hljs-title">Full</span>\<span class="hljs-title">CONSTANT</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Example</span>\{<span class="hljs-title">ClassA</span>, <span class="hljs-title">ClassB</span>, <span class="hljs-title">ClassC</span> <span class="hljs-keyword">as</span> <span class="hljs-title">C</span>};
1 change: 1 addition & 0 deletions test/markup/php/namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ use ArrayObject;
use function My\Full\functionName;
use function My\Full\functionName as func;
use const My\Full\CONSTANT;
use Example\{ClassA, ClassB, ClassC as C};

0 comments on commit c5bc266

Please sign in to comment.