8000 Deprecated Symfony\Component\Security\Core\Security in symfony 6.2 · Issue #174 · Codeception/module-symfony · GitHub
[go: up one dir, main page]

Skip to content < 8000 span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis">
Deprecated Symfony\Component\Security\Core\Security in symfony 6.2 #174
Closed
@FlorianPerrot

Description

@FlorianPerrot

Hello

With symfony 6.2 Symfony\Component\Security\Core\Security is deprecated and replaced by Symfony\Bundle\SecurityBundle\Security
see: https 5EE8 ://github.com/symfony/security-core/blob/6.4/Security.php#L32

My project in symfony 6.4 crash:

1) UserCest: User logged can change his password
 Test  tests/Acceptance/UserCest.php:userLoggedCanChangeHisPassword
                                                                                                                                                                                         
  [TypeError] Codeception\Module\Symfony::grabSecurityService(): Return value must be of type Symfony\Component\Security\Core\Security, Symfony\Bundle\SecurityBundle\Security returned                                                                                                                                                                           

Proposal

Remove type on "grabSecurityService"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0