File tree Expand file tree Collapse file tree 7 files changed +10
-20
lines changed
Expand file tree Collapse file tree 7 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -1004,12 +1004,12 @@ public function testRouteAttributeCacheIntegration(): void
10041004
10051005 // Second request - should return cached version with same timestamp
10061006 $ this ->resetServices ();
1007- $ _SERVER ['argv ' ] = ['index.php ' , 'attribute/cached ' ];
1008- $ _SERVER ['argc ' ] = 2 ;
1007+ $ _SERVER ['argv ' ] = ['index.php ' , 'attribute/cached ' ];
1008+ $ _SERVER ['argc ' ] = 2 ;
10091009 Services::superglobals ()->setServer ('REQUEST_URI ' , '/attribute/cached ' );
10101010 Services::superglobals ()->setServer ('SCRIPT_NAME ' , '/index.php ' );
10111011 Services::superglobals ()->setServer ('REQUEST_METHOD ' , 'GET ' );
1012- $ this ->codeigniter = new MockCodeIgniter (new App ());
1012+ $ this ->codeigniter = new MockCodeIgniter (new App ());
10131013
10141014 $ routes = service ('routes ' );
10151015 $ routes ->get ('attribute/cached ' , '\Tests\Support\Router\Controllers\AttributeController::cached ' );
Original file line number Diff line number Diff line change 1313
1414namespace CodeIgniter \Router \Attributes ;
1515
16- use CodeIgniter \HTTP \ResponseInterface ;
1716use CodeIgniter \HTTP \IncomingRequest ;
17+ use CodeIgniter \HTTP \ResponseInterface ;
1818use CodeIgniter \HTTP \SiteURI ;
1919use CodeIgniter \HTTP \UserAgent ;
2020use CodeIgniter \Test \CIUnitTestCase ;
Original file line number Diff line number Diff line change 1313
1414namespace CodeIgniter \Router \Attributes ;
1515
16- use CodeIgniter \HTTP \ResponseInterface ;
1716use CodeIgniter \HTTP \IncomingRequest ;
17+ use CodeIgniter \HTTP \ResponseInterface ;
1818use CodeIgniter \HTTP \SiteURI ;
1919use CodeIgniter \HTTP \UserAgent ;
2020use CodeIgniter \Test \CIUnitTestCase ;
Original file line number Diff line number Diff line change 1313
1414namespace CodeIgniter \Router \Attributes ;
1515
16- use CodeIgniter \HTTP \ResponseInterface ;
1716use CodeIgniter \Exceptions \PageNotFoundException ;
1817use CodeIgniter \HTTP \IncomingRequest ;
18+ use CodeIgniter \HTTP \ResponseInterface ;
1919use CodeIgniter \HTTP \SiteURI ;
2020use CodeIgniter \HTTP \UserAgent ;
2121use CodeIgniter \Test \CIUnitTestCase ;
Original file line number Diff line number Diff line change 1- # total 231 errors
1+ # total 230 errors
22
33parameters :
44 ignoreErrors :
@@ -287,11 +287,6 @@ parameters:
287287 count : 4
288288 path : ../../system/RESTful/BaseResource.php
289289
290- -
291- message : ' #^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
292- count : 1
293- path : ../../system/Router/Attributes/Filter.php
294-
295290 -
296291 message : ' #^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
297292 count : 6
Original file line number Diff line number Diff line change 1- # total 1 error
1+ # total 0 errors
22
33parameters :
4- ignoreErrors :
5- -
6- message : ' #^Comparison operation "\>\=" between int\<3, max\> and 3 is always true\.$#'
7- count : 1
8- path : ../../system/Router/Attributes/Restrict.php
4+ ignoreErrors : []
Original file line number Diff line number Diff line change 1- # total 2817 errors
1+ # total 2815 errors
22
33includes :
44 - argument.type.neon
@@ -10,7 +10,6 @@ includes:
1010 - codeigniter.superglobalAccessAssign.neon
1111 - deadCode.unreachable.neon
1212 - empty.notAllowed.neon
13- - greaterOrEqual.alwaysTrue.neon
1413 - isset.property.neon
1514 - method.alreadyNarrowedType.neon
1615 - method.childParameterType.neon
You can’t perform that action at this time.
0 commit comments