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.11] - 2020-MM-DD
6
+
7
+ ### Fixed
8
+
9
+ * [ #811 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/811 ) : ` T_FN ` constant is used on PHP 7.3 where it is not available
10
+
5
11
## [ 9.1.10] - 2020-09-18
6
12
7
13
### Added
@@ -272,6 +278,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
272
278
* Class names are now abbreviated (unqualified name shown, fully qualified name shown on hover) in the file view of the HTML report
273
279
* Update HTML report to Bootstrap 4
274
280
281
+ [ 9.1.11 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.10...master
275
282
[ 9.1.10 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.9...9.1.10
276
283
[ 9.1.9 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.8...9.1.9
277
284
[ 9.1.8 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.1.7...9.1.8
Original file line number Diff line number Diff line change @@ -1091,7 +1091,6 @@ private static function keywordTokens(): array
1091
1091
T_EXTENDS => true ,
1092
1092
T_FINAL => true ,
1093
1093
T_FINALLY => true ,
1094
- T_FN => true ,
1095
1094
T_FOR => true ,
1096
1095
T_FOREACH => true ,
1097
1096
T_FUNCTION => true ,
@@ -1129,6 +1128,10 @@ private static function keywordTokens(): array
1129
1128
T_YIELD_FROM => true ,
1130
1129
];
1131
1130
1131
+ if (defined ('T_FN ' )) {
1132
+ self ::$ keywordTokens [constant ('T_FN ' )] = true ;
1133
+ }
1134
+
1132
1135
if (defined ('T_MATCH ' )) {
1133
1136
self ::$ keywordTokens [constant ('T_MATCH ' )] = true ;
1134
1137
}
You can’t perform that action at this time.
0 commit comments