Skip to content

Seeing weird comment on frankenphp logs #61779

@94noni

Description

@94noni

Symfony version(s) affected

7.3
Symfony 7.3.3 (env: preprod, debug: false) to be precise (for now nothing in prod)

Description

i am testing frankenphp a some project, and one of them has this log

<b>Warning</b>:  Can't preload unlinked class Symfony\Component\Security\Core\Authentication\Token\AbstractToken@anonymous: Unknown parent Symfony\Component\Security\Core\Authentication\Token\AbstractToken in <b>/app/vendor/symfony/security-core/Authorization/AuthorizationChecker.php</b> on line <b>58</b><br />

refers to

$token = new class($user->getRoles()) extends AbstractToken implements OfflineTokenInterface {};

FYI I am trying with worker mode enabled, based on latest code of https://github.com/dunglas/symfony-docker

How to reproduce

Nothing to reproduce for now, just want to ask if its legit or not

Possible Solution

.

Additional Context

.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions