Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299219

Use Symfony's simple-phpunit

$
0
0

Problem/Motivation

PHPUnit has a faster release cadence than Drupal and drops support for PHP versions quicker than we do. See https://phpunit.de/supported-versions.html. This leads to issues like:

We're also always playing catch up and have to do issues like #2950132: Support PHPUnit 7 optionally in Drupal 8, while keeping support for ^6.5.

Proposed resolution

Symfony does not include phpunit in its composer.json. Instead it uses a custom PHPUnit runner called simple-phpunit that selects the correct PHPUnit version for the PHP version you are running on. It exists to:

Provides a modified version of PHPUnit that does not embed symfony/yaml nor prophecy to prevent any conflicts with these dependencies.

https://symfony.com/doc/current/components/phpunit_bridge.html

Remaining tasks

User interface changes

TBD

API changes

TDB

Data model changes

None

Release notes snippet

@todo


Viewing all articles
Browse latest Browse all 299219

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>