This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Laravel 6, PHPUnit 8 and new Travis CI code coverage
- Loading branch information
1 parent
42d0f50
commit 5c6fa9d
Showing
10 changed files
with
26 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ composer.lock | |
.DS_Store | ||
/nbproject/private/ | ||
/.idea | ||
/.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,6 @@ | |
* | ||
* @package HieuLe\Active | ||
* @author Hieu Le <[email protected]> | ||
* @version 3.2.0 | ||
* | ||
*/ | ||
class Active | ||
{ | ||
|
@@ -138,7 +136,7 @@ public function checkUri($uris) | |
} | ||
|
||
/** | ||
* Check if the current URI matches one of specific patterns (using `str_is`) | ||
* Check if the current URI matches one of specific patterns (using `Str::is`) | ||
* | ||
* @param array|string $patterns | ||
* | ||
|
@@ -151,7 +149,7 @@ public function checkUriPattern($patterns) | |
} | ||
|
||
foreach ((array)$patterns as $p) { | ||
if (str_is($p, $this->uri)) { | ||
if (Str::is($p, $this->uri)) { | ||
return true; | ||
} | ||
} | ||
|
@@ -233,7 +231,7 @@ public function checkRoutePattern($patterns) | |
} | ||
|
||
foreach ((array)$patterns as $p) { | ||
if (str_is($p, $routeName)) { | ||
if (Str::is($p, $routeName)) { | ||
return true; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters