This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Update phpunit/phpunit #6
Open
Description
Important: use 2.3-develop as a target branch.
Current: 6.2.4
Update to: 7.0.0
Known issues:
\Magento\Framework\TestFramework\Unit\Listener\ReplaceObjectManager
implements removed\PHPUnit\Framework\BaseTestListener
. Should be replaced with\PHPUnit\Framework\TestListenerDefaultImplementation
- Requires dropping support of PHP 7.0 (should happen in Magento 2.3)
- Scalar Type Declarations and Return Type Declarations are now used where possible (as a result, the API of
PHPUnit\Framework\TestListener
, for instance, has changed)- Magento implements
\PHPUnit\Framework\TestListener
in test frameworks (integration and unit) - There may be more places where Magento testing framework depends on PHPUnit interfaces and their signatures should be changed
- Magento implements
- Potential risk: The visibility of some methods has been changed from protected to private. Will be discovered when above issues fixed and tests are run.