Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DoctrineBridge] Guess correct form types for DATE_IMMUTABLE and DATETIME_IMMUTABLE#39498
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[DoctrineBridge] Guess correct form types for DATE_IMMUTABLE and DATETIME_IMMUTABLE#39498
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedDec 14, 2020
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks. I suppose#39469 should be closed?
| class DoctrineOrmTypeGuesserTestextends TestCase | ||
| { | ||
| /** | ||
| * @dataProvider requiredType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
no need for a provider here since there is only one item in the provided list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Do you want me to add more items to this list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
only if it makes sense to improve the code coverage
otherwise, no need for the provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I've added one more test to also cover DateTimeImmutable :-)
guillaume-sainthillier commentedDec 14, 2020
Yes I will close other PR then |
src/Symfony/Bridge/Doctrine/Tests/Form/DoctrineOrmTypeGuesserTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…est.phpCo-authored-by: Jérémy Derussé <jeremy@derusse.com>
derrabus commentedDec 16, 2020
Thank you@guillaume-sainthillier. |
…LE and DATETIME_IMMUTABLE (guillaume-sainthillier)This PR was squashed before being merged into the 5.2 branch.Discussion----------[DoctrineBridge] Guess correct form types for DATE_IMMUTABLE and DATETIME_IMMUTABLE| Q | A| ------------- | ---| Branch? | 5.2| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |Fix#39468| License | MIT| Doc PR | -Rebased PR#39469Fixes#39468 related to Doctrine Form Type Guesser with DateImmutable typeCommits-------238d318 [DoctrineBridge] Guess correct form types for DATE_IMMUTABLE and DATETIME_IMMUTABLE
Uh oh!
There was an error while loading.Please reload this page.
Rebased PR#39469
Fixes#39468 related to Doctrine Form Type Guesser with DateImmutable type