File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 22
33All notable changes are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
44
5+ ## [ 9.1.9] - 2020-MM-DD
6+
7+ ### Fixed
8+
9+ * [ #808 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/808 ) : ` PHP Warning: Use of undefined constant T_MATCH `
10+
511## [ 9.1.8] - 2020-09-07
612
713### Changed
@@ -252,6 +258,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
252258* Class names are now abbreviated (unqualified name shown, fully qualified name shown on hover) in the file view of the HTML report
253259* Update HTML report to Bootstrap 4
254260
261+ [ 9.1.9 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.8...master
255262[ 9.1.8 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.7...9.1.8
256263[ 9.1.7 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.6...9.1.7
257264[ 9.1.6 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.5...9.1.6
Original file line number Diff line number Diff line change @@ -1095,7 +1095,6 @@ private static function keywordTokens(): array
10951095 T_INTERFACE => true ,
10961096 T_ISSET => true ,
10971097 T_LIST => true ,
1098- T_MATCH => true ,
10991098 T_NAMESPACE => true ,
11001099 T_NEW => true ,
11011100 T_PRINT => true ,
@@ -1118,6 +1117,10 @@ private static function keywordTokens(): array
11181117 T_YIELD_FROM => true ,
11191118 ];
11201119
1120+ if (defined ('T_MATCH ' )) {
1121+ self ::$ keywordTokens [constant ('T_MATCH ' )] = true ;
1122+ }
1123+
11211124 return self ::$ keywordTokens ;
11221125 }
11231126}
You can’t perform that action at this time.
0 commit comments