File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class KeywordEnhancer {
10
10
'/\b(?<!`)ext\/[a-z_]+\b(?![`\/])/ ' , // ext-names
11
11
'/\b(?<!`)[A-Z][A-Za-z]+::[a-z][A-Za-z\d_]+\(\)(?![`\/-])/ ' , // Class::methods()
12
12
'/\b(?<!`)[A-Z][A-Za-z]+::[A-Z_]+\b(?![`\/(])/ ' , // Class::CONSTANTS
13
- '/\b(?<!` )[A-Z][A-Za -z]+::[a-z][A-Za-z_\d]+\b(?![`\/(])/ ' , // Class::constants
13
+ '/\b(?<![` \\\\ ] )[A-Z][A-Z \\\\ a -z]+::[a-z][A-Za-z_\d]+\b(?![`\/(])/ ' , // Class::constants
14
14
'/\b(?<!`-)[a-z]+_[a-z]+(?:_[a-z_]+)?\(\)(?![`\/])/ ' , // Functions with underscores and ()
15
15
'/\b(?<![`>])[a-z_][a-z][a-z\d_]+\(\)(?![`.>\/-])/ ' , // Functions with underscores and ()
16
16
'/\b(?<!`)(?:ldap|ftp|array|mb|stream|open|hash|xml|proc)_[a-z_]+\d?\b(?![`\/])/ ' , // Functions with underscores and no ()
You can’t perform that action at this time.
0 commit comments