Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7551f76

Browse filesBrowse files
authored
PHPORM-235 Remove custom DatabaseTokenRepository (#3124)
1 parent 5f0682f commit 7551f76
Copy full SHA for 7551f76

File tree

Expand file treeCollapse file tree

5 files changed

+1
-123
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+1
-123
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
88
* **BREAKING CHANGE** Make Query\Builder return objects instead of array to match Laravel behavior by @GromNaN in [#3107](https://github.com/mongodb/laravel-mongodb/pull/3107)
99
* **BREAKING CHANGE** In DB query results, convert BSON `UTCDateTime` objects into `Carbon` date with the default timezone by @GromNaN in [#3119](https://github.com/mongodb/laravel-mongodb/pull/3119)
1010
* Remove `MongoFailedJobProvider`, replaced by Laravel `DatabaseFailedJobProvider` by @GromNaN in [#3122](https://github.com/mongodb/laravel-mongodb/pull/3122)
11+
* Remove custom `PasswordResetServiceProvider`, use the default `DatabaseTokenRepository` by @GromNaN in [#3124](https://github.com/mongodb/laravel-mongodb/pull/3124)
1112
* Remove `Blueprint::background()` method by @GromNaN in [#3132](https://github.com/mongodb/laravel-mongodb/pull/3132)
1213

1314
## [4.8.0] - 2024-08-27

‎src/Auth/DatabaseTokenRepository.php

Copy file name to clipboardExpand all lines: src/Auth/DatabaseTokenRepository.php
-59Lines changed: 0 additions & 59 deletions
This file was deleted.

‎src/Auth/PasswordBrokerManager.php

Copy file name to clipboardExpand all lines: src/Auth/PasswordBrokerManager.php
-23Lines changed: 0 additions & 23 deletions
This file was deleted.

‎src/Auth/PasswordResetServiceProvider.php

Copy file name to clipboardExpand all lines: src/Auth/PasswordResetServiceProvider.php
-22Lines changed: 0 additions & 22 deletions
This file was deleted.

‎tests/TestCase.php

Copy file name to clipboardExpand all lines: tests/TestCase.php
-19Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,14 @@
44

55
namespace MongoDB\Laravel\Tests;
66

7-
use Illuminate\Auth\Passwords\PasswordResetServiceProvider as BasePasswordResetServiceProviderAlias;
87
use Illuminate\Foundation\Application;
9-
use MongoDB\Laravel\Auth\PasswordResetServiceProvider;
108
use MongoDB\Laravel\MongoDBServiceProvider;
119
use MongoDB\Laravel\Tests\Models\User;
1210
use MongoDB\Laravel\Validation\ValidationServiceProvider;
1311
use Orchestra\Testbench\TestCase as OrchestraTestCase;
1412

15-
use function array_search;
16-
1713
class TestCase extends OrchestraTestCase
1814
{
19-
/**
20-
* Get application providers.
21-
*
22-
* @param Application $app
23-
*/
24-
protected function getApplicationProviders($app): array
25-
{
26-
$providers = parent::getApplicationProviders($app);
27-
28-
unset($providers[array_search(BasePasswordResetServiceProviderAlias::class, $providers)]);
29-
30-
return $providers;
31-
}
32-
3315
/**
3416
* Get package providers.
3517
*
@@ -39,7 +21,6 @@ protected function getPackageProviders($app): array
3921
{
4022
return [
4123
MongoDBServiceProvider::class,
42-
PasswordResetServiceProvider::class,
4324
ValidationServiceProvider::class,
4425
];
4526
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.