Skip to content

[trait] remove annotation support for ResetPasswordRequest objects #303

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

Merged

Conversation

jrushlow
Copy link
Collaborator

@jrushlow jrushlow commented Apr 11, 2024

  • removes doctrine annotations in the ResetPasswordRequestTrait. As a result, attribute mapping is required when using the trait for ResetPasswordRequest entities.

  • adds property types for class properties

  • add the void return type to initialize()

  • replaces annotations added to 1.x in [1.x] [trait] add type annotations to ResetPasswordRequestTrait #305

  • app test locally

@jrushlow jrushlow added the Feature New Feature label Apr 11, 2024
@@ -26,21 +28,28 @@ public function testIsCompatibleWithInterface(): void

public function propertyDataProvider(): \Generator
{
yield ['selector', '@ORM\Column(type="string", length=20)'];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these unit tests almost seem silly if we have a full stack test in the bundle.. if we dont - we should create one and remove these tests..

@jrushlow jrushlow added this to the 2.x - Pre-release milestone Apr 11, 2024
@jrushlow jrushlow force-pushed the feature/remove-doctrine-annotations branch from bb2ae21 to 24f26d7 Compare April 16, 2024 12:20
@jrushlow jrushlow merged commit aa54daa into SymfonyCasts:2.x Apr 16, 2024
6 checks passed
@jrushlow jrushlow deleted the feature/remove-doctrine-annotations branch April 16, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant