@@ -56,25 +56,25 @@ public function testRespectsDomainsRuleForDingoRouter()
5656 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['* ' ];
5757
5858 $ routeRules [0 ]['match ' ]['domains ' ] = ['* ' ];
59- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
59+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
6060 $ routes = $ matcher ->getRoutes ();
6161 $ this ->assertCount (12 , $ routes );
6262
6363 $ routeRules [0 ]['match ' ]['domains ' ] = ['domain1.* ' , 'domain2.* ' ];
64- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
64+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
6565 $ routes = $ matcher ->getRoutes ();
6666 $ this ->assertCount (12 , $ routes );
6767
6868 $ routeRules [0 ]['match ' ]['domains ' ] = ['domain1.* ' ];
69- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
69+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
7070 $ routes = $ matcher ->getRoutes ();
7171 $ this ->assertCount (6 , $ routes );
7272 foreach ($ routes as $ route ) {
7373 $ this ->assertContains ('domain1 ' , $ route ['route ' ]->getDomain ());
7474 }
7575
7676 $ routeRules [0 ]['match ' ]['domains ' ] = ['domain2.* ' ];
77- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
77+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
7878 $ routes = $ matcher ->getRoutes ();
7979 $ this ->assertCount (6 , $ routes );
8080 foreach ($ routes as $ route ) {
@@ -121,25 +121,25 @@ public function testRespectsPrefixesRuleForDingoRouter()
121121 $ routeRules [0 ]['match ' ]['domains ' ] = ['* ' ];
122122
123123 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['* ' ];
124- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
124+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
125125 $ routes = $ matcher ->getRoutes ();
126126 $ this ->assertCount (12 , $ routes );
127127
128128 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['prefix1/* ' , 'prefix2/* ' ];
129- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
129+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
130130 $ routes = $ matcher ->getRoutes ();
131131 $ this ->assertCount (8 , $ routes );
132132
133133 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['prefix1/* ' ];
134- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
134+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
135135 $ routes = $ matcher ->getRoutes ();
136136 $ this ->assertCount (4 , $ routes );
137137 foreach ($ routes as $ route ) {
138138 $ this ->assertTrue (Str::is ('prefix1/* ' , $ route ['route ' ]->uri ()));
139139 }
140140
141141 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['prefix2/* ' ];
142- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
142+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
143143 $ routes = $ matcher ->getRoutes ();
144144 $ this ->assertCount (4 , $ routes );
145145 foreach ($ routes as $ route ) {
@@ -154,7 +154,7 @@ public function testRespectsVersionsRuleForDingoRouter()
154154 $ routeRules [0 ]['match ' ]['versions ' ] = ['v2 ' ];
155155 $ routeRules [0 ]['match ' ]['domains ' ] = ['* ' ];
156156 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['* ' ];
157- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
157+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
158158 $ routes = $ matcher ->getRoutes ();
159159 $ this ->assertCount (6 , $ routes );
160160 foreach ($ routes as $ route ) {
@@ -164,7 +164,7 @@ public function testRespectsVersionsRuleForDingoRouter()
164164 $ routeRules [0 ]['match ' ]['versions ' ] = ['v1 ' , 'v2 ' ];
165165 $ routeRules [0 ]['match ' ]['domains ' ] = ['* ' ];
166166 $ routeRules [0 ]['match ' ]['prefixes ' ] = ['* ' ];
167- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
167+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
168168 $ routes = $ matcher ->getRoutes ();
169169 $ this ->assertCount (18 , $ routes );
170170 }
@@ -200,7 +200,7 @@ public function testWillIncludeRouteIfListedExplicitlyForDingoRouter()
200200 'include ' => [$ mustInclude ],
201201 ],
202202 ];
203- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
203+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
204204 $ routes = $ matcher ->getRoutes ();
205205 $ oddRuleOut = collect ($ routes )->filter (function ($ route ) use ($ mustInclude ) {
206206 return $ route ['route ' ]->getName () === $ mustInclude ;
@@ -241,7 +241,7 @@ public function testWillIncludeRouteIfMatchForAnIncludePatternForDingoRouter()
241241 'include ' => [$ includePattern ],
242242 ],
243243 ];
244- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
244+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
245245 $ routes = $ matcher ->getRoutes ();
246246 $ oddRuleOut = collect ($ routes )->filter (function ($ route ) use ($ mustInclude ) {
247247 return in_array ($ route ['route ' ]->getName (), $ mustInclude );
@@ -280,7 +280,7 @@ public function testWillExcludeRouteIfListedExplicitlyForDingoRouter()
280280 'exclude ' => [$ mustNotInclude ],
281281 ],
282282 ];
283- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
283+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
284284 $ routes = $ matcher ->getRoutes ();
285285 $ oddRuleOut = collect ($ routes )->filter (function ($ route ) use ($ mustNotInclude ) {
286286 return $ route ['route ' ]->getName () === $ mustNotInclude ;
@@ -321,7 +321,7 @@ public function testWillExcludeRouteIfMatchForAnExcludePatterForDingoRouter()
321321 'exclude ' => [$ excludePattern ],
322322 ],
323323 ];
324- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
324+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
325325 $ routes = $ matcher ->getRoutes ();
326326 $ oddRuleOut = collect ($ routes )->filter (function ($ route ) use ($ mustNotInclude ) {
327327 return in_array ($ route ['route ' ]->getName (), $ mustNotInclude );
@@ -386,7 +386,7 @@ public function testMergesRoutesFromDifferentRuleGroupsForDingoRouter()
386386 ],
387387 ];
388388
389- $ matcher = new RouteMatcher ($ routeRules , " dingo " );
389+ $ matcher = new RouteMatcher ($ routeRules , ' dingo ' );
390390 $ routes = $ matcher ->getRoutes ();
391391 $ this ->assertCount (18 , $ routes );
392392
0 commit comments