Skip to content

Commit d2e2284

Browse files
committed
Update reference to enum and set minimum PHP version to 7.1
1 parent fb801e6 commit d2e2284

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Laravel validation rule that checks if a password has been exposed in a data breach",
44
"type": "library",
55
"require": {
6+
"php": "^7.1",
67
"divineomega/password_exposed": "^2.5||^3.0",
78
"illuminate/contracts": "^5.1"
89
},

src/PasswordExposed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace DivineOmega\LaravelPasswordExposedValidationRule;
44

55
use DivineOmega\LaravelPasswordExposedValidationRule\Factories\PasswordExposedCheckerFactory;
6+
use DivineOmega\PasswordExposed\Enums\PasswordStatus;
67
use DivineOmega\PasswordExposed\PasswordExposedChecker;
7-
use DivineOmega\PasswordExposed\PasswordStatus;
88
use Illuminate\Contracts\Validation\Rule;
99

1010
/**

0 commit comments

Comments
 (0)