Compare commits

...
2 Commits
Author SHA1 Message Date
admin.juergenandClaude Opus 5 048c582295 Allow paragonie/hidden-string 2
hidden-string 1.x pins paragonie/constant_time_encoding to ^2, which
forces a downgrade on installations that already run version 3 (Contao
5.7 allows ^2.8 || ^3.1 and web-auth/webauthn-lib pulls in 3.x).
Version 2.2 of hidden-string allows ^2|^3 and leaves the two methods
this bundle uses, the constructor and getString(), unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 13:37:27 +02:00
admin.juergenandClaude Opus 5 0f725ab6bc Support doctrine/dbal 4
QueryBuilder::execute() was removed in DBAL 4.0. Replace it with
executeQuery(), which exists since DBAL 3.1 and therefore keeps the
bundle working on both major versions, and widen the constraint
accordingly.

This is the only DBAL API usage in the bundle.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 13:36:29 +02:00
2 changed files with 3 additions and 3 deletions

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@
"require": {
"php": "^8.2",
"contao/core-bundle": "^4.13 || ^5.0",
"doctrine/dbal": "^3.3",
"paragonie/hidden-string": "^1.0",
"doctrine/dbal": "^3.3 || ^4.0",
"paragonie/hidden-string": "^1.0 || ^2.2",
"symfony/config": "^5.0 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.0 || ^6.0 || ^7.0",
"symfony/http-client-contracts": "^2 || ^3",
@@ -64,7 +64,7 @@ final readonly class PasswordHistoryListener
->setMaxResults(1)
->setParameter('user_id', $userId)
->setParameter('table', 'tl_member')
->execute()
->executeQuery()
->fetchOne()
;