Skip to content

chore(deps-dev): Bump doctrine/dbal from 3.10.4 to 4.6.0 in /vendor-bin/psalm - #1721

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/psalm/doctrine/dbal-4.6.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/vendor-bin/psalm/doctrine/dbal-4.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown
Contributor

Bumps doctrine/dbal from 3.10.4 to 4.6.0.

Release notes

Sourced from doctrine/dbal's releases.

4.6.0

Release Notes for 4.6.0

4.6.0

  • Total issues resolved: 0
  • Total pull requests resolved: 10
  • Total contributors: 7

New Features

Deprecations

Performance

Static analysis

CI

Test Suite

4.5.1

Release Notes for 4.5.1

4.5.1

  • Total issues resolved: 0
  • Total pull requests resolved: 7
  • Total contributors: 6

... (truncated)

Upgrade guide

Sourced from doctrine/dbal's upgrade guide.

Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.

  • Use of @deprecated docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan)
  • Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/

Upgrade to 4.6

Deprecated the mutable date/time types

The mutable date/time types have been deprecated in favor of their immutable counterparts:

Deprecated type Replacement
DateType DateImmutableType
DateTimeType DateTimeImmutableType
DateTimeUtcType DateTimeUtcImmutableType
DateTimeTzType DateTimeTzImmutableType
TimeType TimeImmutableType
VarDateTimeType VarDateTimeImmutableType

The corresponding Types::*_MUTABLE constants are deprecated in favor of their *_IMMUTABLE counterparts. Using one of these types triggers a deprecation; switch the affected columns to the immutable type to silence it.

If you want to keep working with mutable DateTime objects, you can register your own type that adapts the immutable one by converting between DateTime and DateTimeImmutable. For example, a replacement for the datetime type:

final class MutableDateTimeType extends Type implements PhpDateTimeMappingType
{
    public function __construct(
        private DateTimeImmutableType $inner,
    ) {}
public function getSQLDeclaration(array $column, AbstractPlatform $platform): string
{
    return $this->inner->getSQLDeclaration($column, $platform);
}
public function convertToDatabaseValue(mixed $value, AbstractPlatform $platform): ?string
{
if ($value instanceof DateTime) {
$value = DateTimeImmutable::createFromMutable($value);
}
return $this->inner->convertToDatabaseValue($value, $platform);


</tr></table>

... (truncated)

Commits
  • 1b56fbf Merge pull request #7596 from beberlei/GH-7595-ParserImprovements
  • c5b9f15 Merge pull request #7575 from doctrine/feature/deprecate-mutable-datetime-types
  • 9798b3a Merge pull request #7594 from derrabus/query-tag-followup
  • 8275c68 Deprecate the mutable date/time types
  • a6c1012 Merge branch '4.5.x' into 4.6.x
  • b281545 Handle PostgreSQL 18 RESTRICT violations (#7530)
  • bbcfd0e Merge branch '3.10.x' into 4.5.x
  • 92156a6 Merge pull request #7602 from morozov/document-deprecations-for-agents
  • 11d04c4 Merge pull request #7598 from morozov/comparable-helpers
  • f93cc86 Merge pull request #7597 from doctrine/dependabot/github_actions/3.10.x/doctr...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.10.4 to 4.6.0.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Upgrade guide](https://github.com/doctrine/dbal/blob/4.6.x/UPGRADE.md)
- [Commits](doctrine/dbal@3.10.4...4.6.0)

---
updated-dependencies:
- dependency-name: doctrine/dbal
  dependency-version: 4.6.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

This branch has not been deployed

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

Labels

3. to review dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants