PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefixed to prevent conflicts with potentially Composer installed dependencies on the same packages.
In practice, the prefix for these external dependencies which is being added when the PHAR is being build has changed from PHPUnit\\ to PHPUnitPHAR\\.
This impacts the AssertClosedResource polyfill which uses the SebastianBergmann\Exporter\Exporter class from the external Exporter dependency.
coverage: 95.833% (-0.4%) from 96.232%
when pulling ee15e228be7fb3136afc4113d15f9ad25bc009a9 on feature/support-phpunit-8.5.38-9.6.19
into 3380dcc060bbe723839cb7c007efd5ade2800969 on 1.x.
PHPUnit 8.5.38 and 9.6.19 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefixed to prevent conflicts with potentially Composer installed dependencies on the same packages.
In practice, the prefix for these external dependencies which is being added when the PHAR is being build has changed from
PHPUnit\\
toPHPUnitPHAR\\
.This impacts the
AssertClosedResource
polyfill which uses theSebastianBergmann\Exporter\Exporter
class from the externalExporter
dependency.This commit fixes the issue.
Refs: