forked from PrismJS/prism
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHPDoc: Fixed exponential backtracking (PrismJS#2198)
This fixed the exponential backtracking of the pattern which matched PHP classes.
- Loading branch information
1 parent
a48ef21
commit 6ffec4d
Showing
3 changed files
with
18 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** @var Git_Driver_Gerrit_ProjectCreator_Factory */ | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
"/** ", | ||
["keyword", "@var"], | ||
["class-name", [ | ||
"Git_Driver_Gerrit_ProjectCreator_Factory" | ||
]], | ||
" */" | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks exponential backtracking for types. See #2197. |