Skip to content

Rename security-csrf TokenStorageInterface for better DX #58991

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy