Rework comments with PHPUnit metadata to attributes to fix PHPUnit 11 deprecation warnings

Created on 30 July 2025, 5 days ago

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.

Feature request
Status

Active

Version

1.5

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @murz
  • First commit to issue fork.
  • @akyrylenko opened merge request.
Production build 0.71.5 2024