Skip to content

Check mixins before falling back to mixed for universal object crates #13342

@calebdw

Description

@calebdw

Bug report

Hello!

Please see larastan/larastan#2327 for context.

The user added a mixin to the child of a class that had been marked as a universal object crate. The only way for the user to move forward was to override the configuration. However, it would be great if mixins were checked before falling back to mixed.

Code snippet that reproduces the problem

https://phpstan.org/r/e05c908b-49b0-4c80-aab9-479d9dd69c6e

Expected output

I would expect there to be no errors

Did PHPStan help you today? Did it make you happy in any way?

It's my favorite PHP package!!

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