Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeUnitFindingVisitor does not support DNF types #981

Closed
simPod opened this issue Feb 24, 2023 · 0 comments
Closed

CodeUnitFindingVisitor does not support DNF types #981

simPod opened this issue Feb 24, 2023 · 0 comments
Assignees
Labels

Comments

@simPod
Copy link

simPod commented Feb 24, 2023

Q A
php-code-coverage version 10.0.0
PHP version 8.2.3
Driver PCOV
PCOV version (if used) 1.0.11
Installation Method Composer
Usage Method PHPUnit
PHPUnit version (if used) 10.0.11

The assertion started failing when I did following change

- public function foo(string $bar): A&B
+ public function foo(string $bar): (A&B)|null
    {
        ...
    }

assert($_type instanceof Identifier);

image

image

@sebastianbergmann sebastianbergmann self-assigned this Feb 24, 2023
sebastianbergmann added a commit that referenced this issue Feb 24, 2023
Repository owner deleted a comment Mar 30, 2023
Repository owner deleted a comment Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants