Skip to content

Report use of deprecated phpdoc annotations #240

@staabm

Description

@staabm

PHPUnit 12.x removed support for annotations, therefore we can prevent unneccessary phpdoc parsing, when PHPUnit 12+ is detected

see https://phpunit.de/announcements/phpunit-11.html

Metadata

PHPUnit 10 introduced support for PHP 8 attributes to add metadata to test classes and test methods. Previously, annotations in special PHP comments called "docblocks" or "doc-comments" were the only way to add metadata to units of code.

In PHPUnit 11, the annotations that can be used in special PHP comments to add metadata to test classes and test methods are deprecated. Support for these annotations will be removed in PHPUnit 12.

see also discussion at #239 (review)

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