File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public function testReportOnly(): void
123123
124124 Services ::injectMock ('csp ' , new ContentSecurityPolicy ($ config ));
125125
126- $ this ->response = new Response (config (App::class) );
126+ $ this ->response = new Response ();
127127 $ this ->response ->pretend (false );
128128 $ this ->csp = $ this ->response ->getCSP ();
129129
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ public function testGetDownloadResponseByFilePath(): void
490490
491491 public function testGetDownloadResponseByExtremeFilePath (): void
492492 {
493- $ response = new Response (new App () );
493+ $ response = new Response ();
494494
495495 $ tempDir = sys_get_temp_dir () . DIRECTORY_SEPARATOR . 'ci4_test_dir_ ' . bin2hex (random_bytes (8 ));
496496 $ this ->assertTrue (mkdir ($ tempDir ));
Original file line number Diff line number Diff line change 1- # total 11 errors
1+ # total 9 errors
22
33parameters :
44 ignoreErrors :
@@ -16,13 +16,3 @@ parameters:
1616 message : ' #^Class CodeIgniter\\HTTP\\Response constructor invoked with 1 parameter, 0 required\.$#'
1717 count : 5
1818 path : ../../tests/system/HTTP/CURLRequestExceptionTest.php
19-
20- -
21- message : ' #^Class CodeIgniter\\HTTP\\Response constructor invoked with 1 parameter, 0 required\.$#'
22- count : 1
23- path : ../../tests/system/HTTP/ContentSecurityPolicyTest.php
24-
25- -
26- message : ' #^Class CodeIgniter\\HTTP\\Response constructor invoked with 1 parameter, 0 required\.$#'
27- count : 1
28- path : ../../tests/system/HTTP/ResponseTest.php
Original file line number Diff line number Diff line change 1- # total 37 errors
1+ # total 35 errors
22
33includes :
44 - arguments.count.neon
You can’t perform that action at this time.
0 commit comments