-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP: Fixed functions with namespaces (#2889)
- Loading branch information
1 parent
8047118
commit 87d7939
Showing
9 changed files
with
209 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
<img style="width:<?php echo (80 / count($images)) ?>%"/> | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["tag", [ | ||
["tag", [ | ||
["punctuation", "<"], | ||
"img" | ||
]], | ||
["special-attr", [ | ||
["attr-name", "style"], | ||
["attr-value", [ | ||
["punctuation", "="], | ||
["punctuation", "\""], | ||
["value", [ | ||
["property", "width"], | ||
["punctuation", ":"], | ||
["php", [ | ||
["delimiter", "<?php"], | ||
["keyword", "echo"], | ||
["punctuation", "("], | ||
["number", "80"], | ||
["operator", "/"], | ||
["function", "count"], | ||
["punctuation", "("], | ||
["variable", "$images"], | ||
["punctuation", ")"], | ||
["punctuation", ")"], | ||
["delimiter", "?>"] | ||
]], | ||
"%" | ||
]], | ||
["punctuation", "\""] | ||
]] | ||
]], | ||
["punctuation", "/>"] | ||
]] | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks for #2008 where a part of markup templating's placeholder was tokenized as `number` by CSS Extras. | ||
<img style="width:<?php echo (80 / count($images)) ?>%"/> | ||
---------------------------------------------------- | ||
[ | ||
["tag", [ | ||
["tag", [ | ||
["punctuation", "<"], | ||
"img" | ||
]], | ||
["special-attr", [ | ||
["attr-name", "style"], | ||
["attr-value", [ | ||
["punctuation", "="], | ||
["punctuation", "\""], | ||
["value", [ | ||
["property", "width"], | ||
["punctuation", ":"], | ||
["php", [ | ||
["delimiter", "<?php"], | ||
["keyword", "echo"], | ||
["punctuation", "("], | ||
["number", "80"], | ||
["operator", "/"], | ||
["function", ["count"]], | ||
["punctuation", "("], | ||
["variable", "$images"], | ||
["punctuation", ")"], | ||
["punctuation", ")"], | ||
["delimiter", "?>"] | ||
]], | ||
"%" | ||
]], | ||
["punctuation", "\""] | ||
]] | ||
]], | ||
["punctuation", "/>"] | ||
]] | ||
] | ||
---------------------------------------------------- | ||
Checks for #2008 where a part of markup templating's placeholder was tokenized as `number` by CSS Extras. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.