Skip to content

[9.x] Fix deprecation warnings from route:list when filtering on name or domain - #41421

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
hmazter:route-list-deprecation-warning
Mar 10, 2022
Merged

[9.x] Fix deprecation warnings from route:list when filtering on name or domain#41421
taylorotwell merged 2 commits into
laravel:9.xfrom
hmazter:route-list-deprecation-warning

Conversation

@hmazter

@hmazter hmazter commented Mar 10, 2022

Copy link
Copy Markdown
Contributor

Cast route name and domain to string since they can be null when filtering with --name or --domain

Added a test to make sure the filtering was still working and does not throw any deprecation warnings.

More specific fix as mentioned in #41419

@GrahamCampbell GrahamCampbell changed the title Fix deprecation warnings from route:list when filtering on name or domain [9.x] Fix deprecation warnings from route:list when filtering on name or domain Mar 10, 2022
@taylorotwell
taylorotwell merged commit f20b074 into laravel:9.x Mar 10, 2022
@hmazter
hmazter deleted the route-list-deprecation-warning branch March 10, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants