Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] Add types to private/final/internal methods and constructors#33266
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
[DependencyInjection] Add types to private/final/internal methods and constructors#33266
Uh oh!
There was an error while loading.Please reload this page.
Conversation
derrabus commentedAug 20, 2019
| Q | A |
|---|---|
| Branch? | 4.4 |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #32179,#33228 |
| License | MIT |
| Doc PR | NA/ |
…hods (nicolas-grekas, derrabus)This PR was merged into the 4.4 branch.Discussion----------Add return types to tests and final|internal|private methods| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#33228#33236| License | MIT| Doc PR | symfony/symfony-docs#... <!-- required for new features -->#33266 made me spot an issue with my logic to add return types with help from `DebugClassLoader`.Here is a completing PR, with the logic expanded to test classes.I need help to fix tests, /cc@derrabus :)Commits-------c39fd9c Fixed tests on the Security and Form componentsfc186bb Add return types to tests and final|internal|private methods
nicolas-grekas commentedAug 21, 2019 • 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.
Honestly, I'm not a big fan of adding |
derrabus commentedAug 21, 2019
Hey, I could have added As I already said on#33228, I might need a llittle guidance on when to add |
c21fbb2 to767023fComparenicolas-grekas commentedAug 21, 2019 • 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.
:'D I did add them when a third-party dep encourages us to do so. I may have added more but I regret already :) |
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/DependencyInjection/Tests/Dumper/YamlDumperTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
767023f tofb74fbfComparederrabus commentedAug 30, 2019
If you've heard someone weeping, it was probably me reverting all the |
fb74fbf todef0ac7Comparenicolas-grekas commentedSep 8, 2019
Thank you@derrabus. |
…l methods and constructors (derrabus)This PR was merged into the 4.4 branch.Discussion----------[DependencyInjection] Add types to private/final/internal methods and constructors| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#32179,#33228| License | MIT| Doc PR | NA/Commits-------def0ac7 Add types to private/final/internal methods and constructors.