Page MenuHomeFreeBSD

www/phpvirtualbox: PHP 8 support
ClosedPublic

Authored by vvd on May 16 2023, 12:49 PM.
Tags
Referenced Files
Unknown Object (File)
Fri, Apr 26, 12:33 AM
Unknown Object (File)
Mon, Apr 22, 11:55 PM
Unknown Object (File)
Mon, Apr 22, 11:55 PM
Unknown Object (File)
Sat, Apr 20, 6:19 PM
Unknown Object (File)
Sat, Apr 20, 6:07 PM
Unknown Object (File)
Wed, Apr 17, 3:42 PM
Unknown Object (File)
Apr 9 2024, 7:56 PM
Unknown Object (File)
Apr 2 2024, 6:51 PM
Subscribers
None

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vvd requested review of this revision.May 16 2023, 12:49 PM
vvd created this revision.
www/phpvirtualbox/files/patch-php8
53

You introduce a new variable $allowed_exts but seemingly never change it. The count($allowed_exts) value would always be 0, no?

168

Is this hunk just a stylistic change? Remove it then.

184

Why remove 'Bridged'?

www/phpvirtualbox/files/patch-php8
53

It's "global" variable.
Value set outside "getdir" function endpoints/jqueryFileTree.php(66):

$allowed_exts = $settings->browserRestrictFiles;
if(is_array($allowed_exts) && count($allowed_exts) > 0) $allowed_exts = array_combine($allowed_exts,$allowed_exts);
else $allowed_exts = array();
168

1st line replace '' with 'Null' - don't thing it's just stylistic.
But other lines are formatting and I can remove these changes.

184

Look at comments before "if":

// Special case for Internal, Generic, and VDE network selects

List have 3 types except Bridged.

AFAIR, this is fix for some error, but I can't find comments to it and sources of this change.

Are you sure this patch doesn't break anything for PHP < 8?

Are you sure this patch doesn't break anything for PHP < 8?

lang/php74|lang/php80|2022-12-25|Has expired: Security support ended on 2022-11-22
Isn't in ports for half of year.

This revision is now accepted and ready to land.May 21 2023, 1:37 PM
This revision was automatically updated to reflect the committed changes.