File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 136136 Php81 \Array_ \FirstClassCallableRector::class, # todo: TMP
137137 Php81 \FuncCall \NullToStrictStringFuncCallArgRector::class, # todo: check later
138138 Strict \Empty_ \DisallowedEmptyRuleFixerRector::class, # todo: TMP
139- Transform \FuncCall \FuncCallToConstFetchRector::class, # todo: TMP
140139 TypeDeclaration \BooleanAnd \BinaryOpNullableToInstanceofRector::class, # todo: TMP
141140 TypeDeclaration \ClassMethod \ReturnNeverTypeRector::class,
142141 TypeDeclaration \Empty_ \EmptyOnNullableObjectToInstanceOfRector::class, # todo: TMP
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function sendHeaders()
3232 return $ this ;
3333 }
3434
35- if (str_starts_with (php_sapi_name () , 'cgi ' )) {
35+ if (str_starts_with (PHP_SAPI , 'cgi ' )) {
3636 $ statusSent = false ;
3737 foreach ($ this ->_headersRaw as $ i => $ header ) {
3838 if (stripos ($ header , 'status: ' ) === 0 ) {
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ public function run($params)
350350 }
351351
352352 // Finish the request explicitly, no output allowed beyond this point
353- if (php_sapi_name () == 'fpm-fcgi ' && function_exists ('fastcgi_finish_request ' )) {
353+ if (PHP_SAPI == 'fpm-fcgi ' && function_exists ('fastcgi_finish_request ' )) {
354354 fastcgi_finish_request ();
355355 } else {
356356 flush ();
You can’t perform that action at this time.
0 commit comments