File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33namespace CodeIgniter \Shield \Authentication ;
44
5- use CodeIgniter \Shield \Exceptions \HTTPException ;
5+ use CodeIgniter \HTTP \Exceptions \HTTPException ;
6+ use CodeIgniter \Shield \Exceptions \RuntimeException ;
67
7- class AuthenticationException extends HTTPException
8+ class AuthenticationException extends RuntimeException
89{
910 protected $ code = 403 ;
1011
Original file line number Diff line number Diff line change 33namespace CodeIgniter \Shield \Authentication \Passwords ;
44
55use CodeIgniter \Config \Services ;
6+ use CodeIgniter \HTTP \Exceptions \HTTPException ;
67use CodeIgniter \Shield \Authentication \AuthenticationException ;
78use CodeIgniter \Shield \Entities \User ;
8- use CodeIgniter \Shield \Exceptions \HTTPException ;
99use CodeIgniter \Shield \Result ;
1010
1111/**
Original file line number Diff line number Diff line change 22
33namespace CodeIgniter \Shield \Authorization ;
44
5- use CodeIgniter \Shield \Exceptions \HTTPException ;
5+ use CodeIgniter \Shield \Exceptions \RuntimeException ;
66
7- class AuthorizationException extends HTTPException
7+ class AuthorizationException extends RuntimeException
88{
99 protected $ code = 401 ;
1010
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33namespace Tests \Unit ;
44
5+ use CodeIgniter \HTTP \Exceptions \HTTPException ;
56use CodeIgniter \HTTP \Response ;
67use CodeIgniter \Shield \Authentication \AuthenticationException ;
78use CodeIgniter \Shield \Authentication \Passwords \PwnedValidator ;
89use CodeIgniter \Shield \Config \Auth as AuthConfig ;
910use CodeIgniter \Shield \Config \Services ;
10- use CodeIgniter \Shield \Exceptions \HTTPException ;
1111use CodeIgniter \Test \CIUnitTestCase ;
1212use Config \App ;
1313
You can’t perform that action at this time.
0 commit comments