Skip to content

[Bug]: $deprecationProvider must be of type PHPStan\Reflection\Deprecation\DeprecationProvider #1392

@mhdcodes

Description

@mhdcodes

What Happened

When I run the code coverage command I get the following error:

PHPStan\Analyser\NodeScopeResolver::__construct(): Argument #11 ($deprecationProvider) must be of type PHPStan\Reflection\Deprecation\DeprecationProvider, PHPStan\Reflection\AttributeReflectionFactory given, called in /var/www/vendor/pestphp/pest-plugin-type-coverage/src/PHPStanAnalyser.php on line 59

How to Reproduce

vendor/bin/pest --type-coverage

Sample Repository

No response

Pest Version

3.8.2

PHP Version

8.3.20

Operation System

Linux

Notes

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions