Skip to content

phpstan: lvl 2 -> 3#1855

Merged
ostrolucky merged 1 commit into2.13.xfrom
phpstan-lvl3
Jan 15, 2025
Merged

phpstan: lvl 2 -> 3#1855
ostrolucky merged 1 commit into2.13.xfrom
phpstan-lvl3

Conversation

@ostrolucky
Copy link
Member

No description provided.

@ostrolucky ostrolucky merged commit ab136b4 into 2.13.x Jan 15, 2025
15 checks passed
@stof stof deleted the phpstan-lvl3 branch January 15, 2025 11:04
throw new InvalidArgumentException('Shards are not supported anymore using doctrine/dbal >= 3');
}

assert($manager instanceof EntityManager);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this assertion will cause issue for projects decorating the EntityManager. We should probably use EntityManagerInterface as type instead.

Copy link
Member Author

@ostrolucky ostrolucky Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for feedback. Addressed in 2363c43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants