Skip to content

PHP8 lint:container issue with isBuiltIn() useΒ #39233

Closed
@jdelaune

Description

@jdelaune

Symfony version(s) affected: 5.2.0

Description
Run lint:container command and I get the error:

In CheckTypeDeclarationsPass.php line 288:
Attempted to call an undefined method named "isBuiltin" of class "ReflectionUnionType".

How to reproduce
Run lint:container

Possible Solution
Might be similar to this: #38836

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions