Get Psalm job to pass with DBAL 3 #6796

Open
opened 2026-01-22 15:38:50 +01:00 by admin · 0 comments
Owner

Originally created by @greg0ire on GitHub (Aug 5, 2021).

Recently, a CI job was added on the 2.10.x branch to statically analyze this project after forcing the installation of doctrine/dbal v3.

In order not to disrupt contributors, we made sure it would not fail the build although it really does not pass at all:

e09f126abf/.github/workflows/static-analysis.yml (L94)

If you want to help us fix it or get closer to fixing it, you can reproduce the failures locally by running (from the 2.10.x branch)

composer require doctrine/dbal ^3.0
vendor/bin/psalm

When this issue is fixed, we should create a new one about making this job no longer experimental.

Originally created by @greg0ire on GitHub (Aug 5, 2021). [Recently, a CI job was added on the 2.10.x branch to statically analyze this project after forcing the installation of `doctrine/dbal` v3](https://github.com/doctrine/orm/pull/8874). In order not to disrupt contributors, we made sure it would not fail the build although it really does not pass at all: https://github.com/doctrine/orm/blob/e09f126abfec0add53dc1ed8d4e3708117032fc1/.github/workflows/static-analysis.yml#L94 If you want to help us fix it or get closer to fixing it, you can reproduce the failures locally by running (from the 2.10.x branch) ```shell composer require doctrine/dbal ^3.0 vendor/bin/psalm ``` When this issue is fixed, we should create a new one about making this job no longer experimental.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6796