Skip to content

Invalid mapping type to property type check for binary mapping since DBAL v.4#669

Closed
v-noskov wants to merge 1 commit into
phpstan:2.0.xfrom
v-noskov:binary-type
Closed

Invalid mapping type to property type check for binary mapping since DBAL v.4#669
v-noskov wants to merge 1 commit into
phpstan:2.0.xfrom
v-noskov:binary-type

Conversation

@v-noskov
Copy link
Copy Markdown

@v-noskov v-noskov commented Jul 2, 2025

This PR demonstrates the bug described in #659

@v-noskov v-noskov marked this pull request as draft July 2, 2025 20:34
@ondrejmirtes
Copy link
Copy Markdown
Member

Yes, looking at the type implementation https://github.com/doctrine/dbal/blob/4.3.x/src/Types/BinaryType.php, phpstan-doctrine needs to understand that string is okay.

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.

2 participants