Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rename security-csrf TokenStorageInterface for better DX #58991

Open
@chalasr

Description

@chalasr

Description

When typing TokenStorage in your IDE and being autocompleted, what you're looking for is the TokenStorageInterface from security-core, not the one from security-csrf. Yet the csrf one is proposed first which has always been annoying. I propose to prefix that interface by Csrf for the sake of better DX.

Example

Before:

Screenshot 2024-11-26 at 10 58 14

After, one gets the Core TokenStorageInterface proposed first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)SecurityStalledStatus: Needs Decision

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions