- Status changed to Active
9 months ago 3:50am 16 July 2024 - 🇳🇿New Zealand quietone
At the recent coding standards meeting mstrelan reported that 'we need to use attributes' and not annotations. See the meeting issue for the full discussion, #3458726: Coding Standards Meeting Tuesday 2024-07-16 2100 UTC →
The suggestion was that our docs should point to PHPUnit docs. I currently disagree with that because of the '@group'. There is no documentation to explain how that is used in Drupal. Sometimes it is upper case and sometime it is not. That should be made clear to developers.
- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
The suggestion was that our docs should point to PHPUnit docs. I currently disagree with that because of the '@group'. There is no documentation to explain how that is used in Drupal.
I agree we can't just point to the phpunit docs, but I think we should link to them + explain our own additional rules about them if they exist.
- 🇮🇹Italy mondrake 🇮🇹
This is now partially outdated, in the sense that annotations are deprecated in PHPUnit 10 in favor of PHP attributes, and there is no one to one mapping in all cases.
See https://github.com/sebastianbergmann/phpunit/issues/4502