Skip to content

Commit e525518

Browse files
committed
Fix __XYZ__ markup codify rule
1 parent 3fa82c7 commit e525518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KeywordEnhancer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class KeywordEnhancer {
1717
'/\b(?<!`)(xleak|xfail|skipif)\b(?![`\/])/i', // xleak
1818
'/(?<![`>()-])--[a-z][a-z-]+(?![`])/i', // --flags, --flags-and-more
1919
'/(?<![`>()-])\bext\/[a-z_\d\/-]+\.phpt\b(?![`])/i', // ext/test/test/test.phpt
20-
'/\b(?<![`>()-])__[A-Z\d_]+(?![`])/i', // __PROPERTY__
20+
'/\b(?<![`>-])__[A-Z\d_]+(?![`])/i', // __PROPERTY__
2121
'/\b(?<![`>()-])(?:(main|ext|Zend|tests|win32|scripts|sapi|pear|docs|build)\/(?:[a-z\/_]+))(?:\.(c|php|phpt|yml|yaml|cpp|m4|txt|w32|h))(?::\d+)?(?![`])/i', // files in php-src
2222
];
2323

0 commit comments

Comments
 (0)