Problem/Motivation

PHPUnit 11 started to show deprecation warnings for comments with PHPUnit metadata.

Steps to reproduce

Run tests and see a warning like this:

OK, but there were issues!
Tests: 93, Assertions: 531, PHPUnit Deprecations: 134.

Proposed resolution

Seems there is a time to rework all comments to modern PHP Attributes.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

akyrylenko made their first commit to this issue’s fork.

akyrylenko’s picture

Status: Active » Needs review
StatusFileSize
new140.49 KB

Time: 00:03.301, Memory: 42.00 MB
OK (93 tests, 531 assertions)

PHPUnit metadata to attributes to fix PHPUnit 11 deprecation

  • murz committed 4147253b on 1.5.x authored by akyrylenko
    Issue #3538698 by akyrylenko: Rework comments with PHPUnit metadata to...
murz’s picture

Status: Needs review » Fixed

Thank you, now works well! Merged.

murz’s picture

Status: Fixed » Closed (fixed)