| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ResetPasswordController extends Controller |
||
| 10 | { |
||
| 11 | /* |
||
| 12 | |-------------------------------------------------------------------------- |
||
| 13 | | Password Reset Controller |
||
| 14 | |-------------------------------------------------------------------------- |
||
| 15 | | |
||
| 16 | | This controller is responsible for handling password reset requests |
||
| 17 | | and uses a simple trait to include this behavior. You're free to |
||
| 18 | | explore this trait and override any methods you wish to tweak. |
||
| 19 | | |
||
| 20 | */ |
||
| 21 | |||
| 22 | use ResetsPasswords; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Where to redirect users after resetting their password. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $redirectTo = '/'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create a new controller instance. |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function __construct() |
||
| 39 | } |
||
| 40 | |||
| 41 | public function showResetForm(Request $request, $token = null) |
||
| 48 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths