Commit b0a06b7
[PhpUnitBridge] Fix finding a config file given by its exact name
The .dist.xml support rewrite dropped the exact-name check, so an
explicitly given config file (-c custom.xml) was only probed with the
.xml/.xml.dist/.dist.xml suffixes appended and the wrapper silently
ignored the SYMFONY_PHPUNIT_* settings it contains (phpunit itself still
received it through passthrough). Probe the verbatim name after the
suffixed candidates: probing it first would make the default "phpunit"
lookup resolve to an extensionless phpunit binary or shim in the working
directory, shadowing phpunit.xml(.dist).1 parent 3e1c9a9 commit b0a06b7
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments