Skip to content
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
Open
@buskamuza

Description

@buskamuza

Important: use 2.3-develop as a target branch.

Current: 6.2.4
Update to: 7.0.0

Known issues:

  1. \Magento\Framework\TestFramework\Unit\Listener\ReplaceObjectManager implements removed \PHPUnit\Framework\BaseTestListener . Should be replaced with \PHPUnit\Framework\TestListenerDefaultImplementation
  2. Requires dropping support of PHP 7.0 (should happen in Magento 2.3)
  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)
    1. Magento implements \PHPUnit\Framework\TestListener in test frameworks (integration and unit)
    2. There may be more places where Magento testing framework depends on PHPUnit interfaces and their signatures should be changed
  4. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions