Skip to content

Update baseline because of doctrine/dbal 4.3.0#12072

Merged
greg0ire merged 1 commit intodoctrine:3.5.xfrom
greg0ire:update-baseline
Jul 12, 2025
Merged

Update baseline because of doctrine/dbal 4.3.0#12072
greg0ire merged 1 commit intodoctrine:3.5.xfrom
greg0ire:update-baseline

Conversation

@greg0ire
Copy link
Copy Markdown
Member

This should fix the build. Maybe some of the reported issues can be addressed, but if that is the case, it should probably be done on the next minor branch.

@greg0ire
Copy link
Copy Markdown
Member Author

I need to adjust the DBAL3 baseline as well.

This should fix the build. Maybe some of the reported issues can be
addressed, but if that is the case, it should probably be done on the
next minor branch.
message: '#^Parameter \#1 \$columns of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:getColumnDeclarationListSQL\(\) expects list\<array\{name\: string, type\: Doctrine\\DBAL\\Types\\Type, default\: mixed, notnull\?\: bool, autoincrement\: bool, columnDefinition\: non\-empty\-string\|null, comment\: string, charset\?\: non\-empty\-string\|null, \.\.\.\}\>, array\<string, array\{name\: string, notnull\: true, type\: Doctrine\\DBAL\\Types\\Type\}\> given\.$#'
identifier: argument.type
count: 1
path: src/Query/Exec/MultiTableUpdateExecutor.php
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There's also a way to define multiple paths if you want to group the same errors in this baseline file. It would reduce the file size and give a better view on where the same error happens in the project..
https://phpstan.org/user-guide/ignoring-errors#ignoring-in-configuration-file

Copy link
Copy Markdown
Member Author

@greg0ire greg0ire Jul 11, 2025

Choose a reason for hiding this comment

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

I generated this one file , and I think everyone does the same

Copy link
Copy Markdown
Member

@SenseException SenseException Jul 12, 2025

Choose a reason for hiding this comment

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

I was referring to

                            paths:
                                - some/path
                                - other/path

in the docs for the errors with the same or similar message, but I didn't make this to a change request, because it would only be a simple improvement and no blocker. 🙂

@greg0ire greg0ire added this to the 3.5.1 milestone Jul 12, 2025
@greg0ire greg0ire merged commit 2c01dac into doctrine:3.5.x Jul 12, 2025
2 checks passed
@greg0ire greg0ire deleted the update-baseline branch July 12, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants