Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update stan #300

Merged
merged 1 commit into from
Nov 17, 2024
Merged

update stan #300

merged 1 commit into from
Nov 17, 2024

Conversation

LordSimal
Copy link
Contributor

No description provided.

@LordSimal LordSimal added this to the 3.x milestone Nov 17, 2024
path: src/Controller/Component/AuthorizationComponent.php

-
message: '#^Cannot call method getIdentifier\(\) on array\|Authentication\\IdentityInterface\.$#'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error should actually be addressed at some point, good for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have that prop as ArrayAccess|array with native PHP attributes but overwritten with @var \Authentication\IdentityInterface because of the nature of it being a decorator implementation.

Haven't taken too much time thinking about it but feels pretty hard to get stan to understand that correctly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's a tricky one, hence I too have been ignoring it 😛.

phpstan-baseline.neon Outdated Show resolved Hide resolved
src/IdentityDecorator.php Outdated Show resolved Hide resolved
@ADmad ADmad merged commit a7a6f84 into 3.x Nov 17, 2024
8 checks passed
@ADmad ADmad deleted the 3.x-update-stan branch November 17, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants