Skip to content

Commit 0cad25d

Browse files
authored
Merge pull request #15 from infinitypaul/update-to-php-8
Update to php 8
2 parents b46088a + 5d44be5 commit 0cad25d

File tree

5 files changed

+25
-10
lines changed

5 files changed

+25
-10
lines changed

Diff for: .idea/laravel-password-history-validation.iml

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/php.xml

+17-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.1|^8.0"
21+
"php": "^7.4|^8.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^4.0|^8.0",
25-
"phpunit/phpunit": "^8.0|^9.3"
24+
"orchestra/testbench": "^5.0|^6.0|^7.1.0|^8.0",
25+
"phpunit/phpunit": "^9.3"
2626
},
2727
"autoload": {
2828
"psr-4": {

Diff for: src/Models/PasswordHistoryRepo.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
class PasswordHistoryRepo
66
{
77
/**
8-
* @param $password
9-
* @param $user_id
8+
* @param $password
9+
* @param $user_id
1010
*/
1111
public static function storeCurrentPasswordInHistory($password, $user_id)
1212
{
1313
PasswordHistory::create(get_defined_vars());
1414
}
1515

1616
/**
17-
* @param $user
18-
* @param $checkPrevious
17+
* @param $user
18+
* @param $checkPrevious
1919
* @return mixed
2020
*/
2121
public static function fetchUser($user, $checkPrevious)

Diff for: src/Rules/NotFromPasswordHistory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class NotFromPasswordHistory implements Rule
1414
/**
1515
* NotFromPasswordHistory constructor.
1616
*
17-
* @param $user
17+
* @param $user
1818
*/
1919
public function __construct($user)
2020
{

0 commit comments

Comments
 (0)