Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Uid] Add@return non-empty-string
annotations toAbstractUid
and relevant functions#59075
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
[Uid] Add@return non-empty-string
annotations toAbstractUid
and relevant functions#59075
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedDec 3, 2024
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 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@return non-empty-string
annotations to AbstractUid and relevant functionsUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
20bd796
to41dacf7
Compare@return non-empty-string
annotations to AbstractUid and relevant functions@return non-empty-string
annotations toAbstractUid
and relevant functionsany clue@derrabus ? |
alexandre-daubois commentedDec 7, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The diff patch file located in The command to generate the diff again should be at the top of the file |
… when patching return types (xabbuh)This PR was merged into the 7.3 branch.Discussion----------[ErrorHandler] support non-empty-string/non-empty-list when patching return types| Q | A| ------------- | ---| Branch? | 7.3| Bug fix? | no| New feature? | yes| Deprecations? | no| Issues || License | MITsee the failures in#59075Commits-------01c78b3 support non-empty-string/non-empty-list when patching return types
Thank you@niravpateljoin. |
12ff1bf
intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This Merge Request introduces
@return non-empty-string
annotations to the AbstractUid class and other relevant functions in the Symfony UID component. By explicitly defining the return type as non-empty-string, this change improves type safety and ensures stricter static analysis when working with UIDs.Rationale
Changes Made
@return non-empty-string
for methods where applicable.Backward Compatibility