Skip to content

Commit

Permalink
Merge pull request #37 from langleyfoxall/DivineOmega-patch-2
Browse files Browse the repository at this point in the history
Set minimum supported Laravel to 5.5
  • Loading branch information
Jordan Hall committed Jan 18, 2021
2 parents 3df3cfb + a87b4df commit b34b8f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": ">=7.1",
"laravel/framework": "^5.4||^6.0||^7.0||^8.0",
"laravel/framework": "^5.5||^6.0||^7.0||^8.0",
"divineomega/laravel-password-exposed-validation-rule": "^2.3.0"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion src/Rules/ContextSpecificWords.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public function __construct($username)
$text .= str_replace(
['http://', 'https://', '-', '_', '.com', '.org', '.biz', '.net', '.'],
' ',
config('app.url'));
config('app.url')
);
$text .= ' ';
$text .= $username;

Expand Down

0 comments on commit b34b8f9

Please sign in to comment.