Skip to content

[PHP 8.4 support] and thecodingmachine/safe package #1423

@llaville

Description

@llaville

Hello @theofidry

Did you have in mind to replace the thecodingmachine/safe package that did not support PHP 8.4 runtime (lot of dreprecations raised)

Latest version 2.5.0 is very old and project seems dead (no activity since at least one year)

Trying to compile a project with BOX 4.6.2 today on PHP 8.4.0RC4 platform and got masses of dreprecations, and have no PHAR built !


Deprecated: _HumbugBoxc5dcacdc09f0\Safe\gmdate(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in phar:///shared/backups/php/box-4.6.phar/vendor/thecodingmachine/safe/deprecated/datetime.php on line 6

Deprecated: _HumbugBoxc5dcacdc09f0\Safe\mktime(): Implicitly marking parameter $minute as nullable is deprecated, the explicit nullable type must be used instead in phar:///shared/backups/php/box-4.6.phar/vendor/thecodingmachine/safe/deprecated/datetime.php on line 19


< ... much more not displayed here : GitHub issue reporting body reach limit 65536 bytes) ...>

Deprecated: _HumbugBoxc5dcacdc09f0\Amp\Socket\Internal\normalizeBindToOption(): Implicitly marking parameter $bindTo as nullable is deprecated, the explicit nullable type must be used instead in phar:///shared/backups/php/box-4.6.phar/vendor/amphp/socket/src/Internal/functions.php on line 129

In Preg.php line 78:

  _HumbugBoxc5dcacdc09f0\Composer\Pcre\Preg::replace(): Implicitly marking parameter $count as nullable is deprecated, the explicit nullable
  type must be used instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions