Skip to content

Commit e709037

Browse files
committed
Deprecate DoctrineCredentialSourceRepository and fix Throwable catch
Marked DoctrineCredentialSourceRepository as deprecated in preparation for its removal in 6.0.0, encouraging users to create custom repositories. Additionally, updated the WebauthnBadgeListener to correctly catch Throwable exceptions with a variable, improving error handling consistency.
1 parent a9fa15d commit e709037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/symfony/src/Repository/DoctrineCredentialSourceRepository.php

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/**
1515
* @template T of PublicKeyCredentialSource
1616
* @template-extends ServiceEntityRepository<T>
17+
*
18+
* @deprecated since 5.2.0, to be removed in 6.0.0. Please create your own doctrine-based repository.
1719
*/
1820
class DoctrineCredentialSourceRepository extends ServiceEntityRepository implements PublicKeyCredentialSourceRepositoryInterface, CanSaveCredentialSource
1921
{

0 commit comments

Comments
 (0)