- ๐ฆ๐นAustria drunken monkey Vienna, Austria
Sorry, I have trouble understanding the IS. In essence, you just propose that
@deprecated
tags can be stand-alone (that is, with no further info/description) inside test code โ correct? I tried to update the IS according to my understanding of it โ please correct or further clarify as necessary.Regarding the suggestion, we should definitely note that this exception would not cover โproperโ deprecations in test code, e.g., when some part of a test base class gets deprecated.
Furthermore, it might avoid confusion if, instead of an empty tag, weโd prescribe a short standard explanation for the presence of this tag. E.g., something like this:
/** * @deprecated (This tag is only present for technical reasons. See * https://www.drupal.org/node/3263109.) */
- Status changed to Postponed: needs info
about 2 months ago 11:40am 11 February 2025 - ๐ณ๐ฟNew Zealand quietone
โจ Use PHPStan for deprecation checking Active is closed as outdated.
Is this still needed?
- ๐ฎ๐นItaly mondrake ๐ฎ๐น
I do not think so. BTW PHPUnit 10 has its own
#[IgnoreDeprecations]
attribute for this purpose.See for example https://git.drupalcode.org/project/drupal/-/blob/11.x/core/tests/Drupal/...
- ๐ณ๐ฟNew Zealand quietone
@mondrake, thank you.
Closing as outdated.