File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
4
4
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
+
5
11
## [ 9.1.8] - 2020-09-07
6
12
7
13
### Changed
@@ -252,6 +258,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
252
258
* Class names are now abbreviated (unqualified name shown, fully qualified name shown on hover) in the file view of the HTML report
253
259
* Update HTML report to Bootstrap 4
254
260
261
+ [ 9.1.9 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.8...master
255
262
[ 9.1.8 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.7...9.1.8
256
263
[ 9.1.7 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.6...9.1.7
257
264
[ 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
1095
1095
T_INTERFACE => true ,
1096
1096
T_ISSET => true ,
1097
1097
T_LIST => true ,
1098
- T_MATCH => true ,
1099
1098
T_NAMESPACE => true ,
1100
1099
T_NEW => true ,
1101
1100
T_PRINT => true ,
@@ -1118,6 +1117,10 @@ private static function keywordTokens(): array
1118
1117
T_YIELD_FROM => true ,
1119
1118
];
1120
1119
1120
+ if (defined ('T_MATCH ' )) {
1121
+ self ::$ keywordTokens [constant ('T_MATCH ' )] = true ;
1122
+ }
1123
+
1121
1124
return self ::$ keywordTokens ;
1122
1125
}
1123
1126
}
You can’t perform that action at this time.
0 commit comments