Skip to content

Subscriber "PHPUnit\Event\Test\DataProviderMethodCalledSubscriber" does not exist or is not an interface #5408

@Mr-Leonerrr

Description

@Mr-Leonerrr
Q A
PHPUnit version 10.2.2
PHP version 8.2.5
Installation Method Composer

Summary

After installing version 10 of the dependency, this error appears when querying the version with the command ./vendor/bin/phpunit --version

Current behavior

Dependency cannot be used in this version

How to reproduce

  • Install phpunit via composer
composer require --dev phpunit/phpunit
  • Run command
./vendor/bin/phpunit --version
  • See the error

Expected behavior

To be able to use any dependency-related command without getting errors.

Optional Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething is brokenversion/10Something affects PHPUnit 10

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions