Skip to content

Commit 83844af

Browse files
Merge branch '11.0'
2 parents 2e3038b + 21bd009 commit 83844af

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

.phive/phars.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="php-cs-fixer" version="^3.69" installed="3.69.0" location="./tools/php-cs-fixer" copy="true"/>
4-
<phar name="composer" version="^2.8" installed="2.8.5" location="./tools/composer" copy="true"/>
5-
<phar name="phpstan" version="^2.1" installed="2.1.5" location="./tools/phpstan" copy="true"/>
3+
<phar name="php-cs-fixer" version="^3.70" installed="3.70.0" location="./tools/php-cs-fixer" copy="true"/>
4+
<phar name="composer" version="^2.8" installed="2.8.6" location="./tools/composer" copy="true"/>
5+
<phar name="phpstan" version="^2.1" installed="2.1.6" location="./tools/phpstan" copy="true"/>
66
</phive>

ChangeLog-12.0.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [12.0.4] - 2025-MM-DD
6+
7+
### Fixed
8+
9+
* [#1063](https://github.com/sebastianbergmann/php-code-coverage/issues/1063): HTML report highlights argument named `fn` differently than other named arguments
10+
511
## [12.0.3] - 2025-02-18
612

713
### Fixed
@@ -33,6 +39,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
3339
* This component is no longer supported on PHP 8.2
3440
* This component no longer supports Xdebug versions before Xdebug 3.1
3541

42+
[12.0.4]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.0.3...main
3643
[12.0.3]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.0.2...12.0.3
3744
[12.0.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.0.1...12.0.2
3845
[12.0.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.0.0...12.0.1

src/Report/Html/Renderer/File.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
use const T_WHILE;
8484
use const T_YIELD;
8585
use const T_YIELD_FROM;
86+
use const TOKEN_PARSE;
8687
use function array_key_exists;
8788
use function array_keys;
8889
use function array_merge;
@@ -1012,7 +1013,7 @@ private function loadFile(string $file): array
10121013
}
10131014

10141015
$buffer = file_get_contents($file);
1015-
$tokens = token_get_all($buffer);
1016+
$tokens = token_get_all($buffer, TOKEN_PARSE);
10161017
$result = [''];
10171018
$i = 0;
10181019
$stringFlag = false;

tools/composer

2.48 KB
Binary file not shown.

tools/php-cs-fixer

11.9 KB
Binary file not shown.

tools/phpstan

8.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)