Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Check that we are not using features deprecated in PHPUnit 8 #30055

Copy link
Copy link
Closed
@javiereguiluz

Description

@javiereguiluz
Issue body actions

Description
PHPUnit 8 has just been released. In addition to new features, the following has been deprecated and will be removed in PHPUnit 9:

  • assertInternalType() and assertNotInternalType()
  • assertArraySubset()
  • Annotation(s) for expecting exceptions
  • Assertions (and helper methods) that operate on (non-public) attributes
  • Optional parameters of assertEquals() and assertNotEquals()
  • TestListener interface
  • Optional parameters of assertContains() and assertNotContains() as well as using these methods with string haystacks

Full details at https://phpunit.de/announcements/phpunit-8.html

Let's review our tests to make sure we don't use these. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.