If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
push
github
[CLEANUP] Remove redundant test code (#1584) `getAllValues()` only includes values that are `Value` objects. It does not include `string` values. So the list returned was empty, the loop had no iterations, and the `assertSame()` was never called. It doesn't make sense to replace the code with an assertion that `getAllValues()` is returning an empty list, because the `TestCase` is for `Parser`, not `Document`. Besides, there is already an assertion that `red` is set for the string `color` value. Uncovered by PHPStan config change in #1583. This change would also have silenced the same PHPStan warning.
1608 of 2193 relevant lines covered (73.32%)
38.12 hits per line