You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Temporary file used by SourceMapper may be deleted prematurely #6965
The Symfony Test suite on my CI has started failing since a couple of weeks. The failures started when PHPUnit switched from 13.3.1 to 13.3.2, as far as I can tell. I'm testing 8.4, 8.5 and master and all fail the same way.
There were 123 errors:
1) Symfony\Component\Mailer\Tests\Exception\UnsupportedSchemeExceptionTest::testMessageWhereSchemeIsPartOfSchemeToPackageMap#0 with data ('ahasend', 'symfony/aha-send-mailer')
PHPUnit\Framework\Exception: Warning: file_get_contents(/tmp/phpunit_13rmmf9pg2tjcwdbQ2I): Failed to open stream: No such file or directory in /home/runner/work/php-latest-builds/php-latest-builds/.phpunit/phpunit-13-0/src/TextUI/Configuration/SourceMapper.php on line 50
/home/runner/work/php-latest-builds/php-latest-builds/.phpunit/phpunit-13-0/phpunit:104
/home/runner/work/php-latest-builds/php-latest-builds/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php:470
/home/runner/work/php-latest-builds/php-latest-builds/vendor/symfony/phpunit-bridge/bin/simple-phpunit:13
...
123) Symfony\Bundle\FrameworkBundle\Tests\Controller\ControllerHelperTest::testAddFlash
PHPUnit\Framework\Exception: Warning: file_get_contents(/tmp/phpunit_13rmmf9pg2tjcwdbQ2I): Failed to open stream: No such file or directory in /home/runner/work/php-latest-builds/php-latest-builds/.phpunit/phpunit-13-0/src/TextUI/Configuration/SourceMapper.php on line 50
/home/runner/work/php-latest-builds/php-latest-builds/.phpunit/phpunit-13-0/phpunit:104
/home/runner/work/php-latest-builds/php-latest-builds/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php:470
/home/runner/work/php-latest-builds/php-latest-builds/vendor/symfony/phpunit-bridge/bin/simple-phpunit:13
How to reproduce
Fresh clone of SF 7.4, composer install and ./phpunit with the --log-junit option.
changed the title [-]Temporary file used by SourceMapper may be deleted prematurely[/-][+]Temporary file used by `SourceMapper` may be deleted prematurely[/+]on Sep 9, 2026
Activity
[-]Temporary file used by SourceMapper may be deleted prematurely[/-][+]Temporary file used by `SourceMapper` may be deleted prematurely[/+]Closes #6965
Merge branch '13.3'