- Issue created by @quietone
- ๐ฎ๐ณIndia saurabh rawat
saurabh rawat โ made their first commit to this issueโs fork.
- Merge request !7128Issue #3425294: Remove deprecations for UrlGenerator methods โ (Open) created by saurabh rawat
- First commit to issue fork.
- Status changed to Needs review
9 months ago 11:10pm 21 March 2024 - Status changed to Needs work
9 months ago 12:43am 22 March 2024 - Status changed to Needs review
9 months ago 2:04am 22 March 2024 - Status changed to RTBC
9 months ago 1:31pm 22 March 2024 - ๐บ๐ธUnited States smustgrave
Removal appears to be correct.
Thought about expanding this to include all deprecation in Routing but that would be a lot. This is well scoped.
- Status changed to Needs work
9 months ago 2:32pm 22 March 2024 - Status changed to Needs review
9 months ago 10:30pm 27 March 2024 - Status changed to Needs work
9 months ago 1:23pm 28 March 2024 - ๐บ๐ธUnited States smustgrave
@thhomas could you answer the question though. Was suggested to open a follow up and maybe throw an exception.
- ๐ฌ๐งUnited Kingdom longwave UK
Given we already did the deprecation I think we can just add the string type here, I don't see the need to defer that to a different issue.
- ๐ฌ๐งUnited Kingdom catch
Yeah #12 makes sense to me, wish I'd thought of that in the first place.
- Status changed to Needs review
8 months ago 10:39am 22 April 2024 - ๐ฌ๐งUnited Kingdom longwave UK
Fixed the above, also taken the liberty here to add
array
types where necessary and also implement all types that are present on the Symfony interfaces. - Status changed to Needs work
8 months ago 1:07pm 22 April 2024 - Status changed to Needs review
8 months ago 2:08pm 22 April 2024 - ๐ฌ๐งUnited Kingdom longwave UK
Fixed, we extend
::generate()
so it can take boolean as well as int in the third argument, fixed the signature here so this is allowed. - Status changed to RTBC
8 months ago 2:36pm 22 April 2024 - Status changed to Fixed
8 months ago 3:25pm 22 April 2024 - ๐ฌ๐งUnited Kingdom catch
Yes this looks great, glad we added the type hints here.
Committed/pushed to 11.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.