File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 32
32
"phpunit/phpcov" : " ^9.0.2" ,
33
33
"phpunit/phpunit" : " ^10.5.16" ,
34
34
"predis/predis" : " ^1.1 || ^2.0" ,
35
- "rector/rector" : " 1.1.0 " ,
35
+ "rector/rector" : " 1.1.1 " ,
36
36
"vimeo/psalm" : " ^5.0"
37
37
},
38
38
"replace" : {
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function run(array $params)
103
103
$ docroot = escapeshellarg (FCPATH );
104
104
105
105
// Mimic Apache's mod_rewrite functionality with user settings.
106
- $ rewrite = escapeshellarg (__DIR__ . '/ rewrite.php ' );
106
+ $ rewrite = escapeshellarg (SYSTEMPATH . 'rewrite.php ' );
107
107
108
108
// Call PHP's built-in webserver, making sure to set our
109
109
// base path to the public folder, and to use the rewrite file
Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
// @codeCoverageIgnoreStart
24
- // Avoid this file run when listing commands
25
- if (PHP_SAPI === 'cli ' ) {
26
- return ;
27
- }
28
-
29
24
$ uri = urldecode (
30
25
parse_url ('https://codeigniter.com ' . $ _SERVER ['REQUEST_URI ' ], PHP_URL_PATH ) ?? ''
31
26
);
You can’t perform that action at this time.
0 commit comments