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

[RFC] Bump the component to 4.0 #112

Closed
wants to merge 1 commit into from

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Nov 8, 2023

We need to add a return type to the component's voter class. I'd like to take the opportunity and plan a 4.0 release that kicks out some legacy and adds types everywhere.

@derrabus derrabus requested a review from wouterj November 8, 2023 00:40
@derrabus derrabus changed the title Fix tests for Symfony 7 [RFC] Bump the component to 4.0 Nov 8, 2023
@@ -284,7 +284,7 @@ public function getRoles(): array
return [];
}

public function eraseCredentials()
public function eraseCredentials(): void
Copy link
Member

Choose a reason for hiding this comment

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

befire this PR, we should have one on 3.x that adds all missing @return don't you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes.

@@ -137,10 +137,8 @@ public function vote(TokenInterface $token, $subject, array $attributes)
* class.
*
* @param string $class The class name
*
* @return bool
Copy link
Member

Choose a reason for hiding this comment

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

@param too can be removed

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.

2 participants