Closed dfsmania closed 2 months ago
Improve the ActiveChecker class:
ActiveChecker
UrlGenerator
url()
Request
request()
Improve the HrefFilter class:
HrefFilter
Tests were modified to adapt to the previous improvements:
What's in this PR?
Improve the
ActiveChecker
class:UrlGenerator
instance was removed, insteadurl()
helper from Laravel is used now.Request
instance was removed, insteadrequest()
helper from Laravel is used now.Improve the
HrefFilter
class:UrlGenerator
instance was removed, insteadurl()
helper from Laravel is used now.Tests were modified to adapt to the previous improvements:
HrefFilter
tests were separated into a different test class.ActiveChecker
andHrefFilter
constructor methods were changed, most of the test were adapted.Checklist