Skip to content

Get rid of register_argc_argv #6920

@W0rma

Description

@W0rma

#4650 added a check which prevents using Codeception without enabling the register_argc_argv INI setting.

This setting got deprecated in PHP 8.5.

As reported in php/php-src#20279 the setting is disabled by default in PHP 8.5 even in the CLI SAPI.
Thus, users need to enable register_argc_argv explicitely to be able to use Codeception.

I tested codeception for one of my projects with disabled register_argc_argv setting and without the check in Application.php and it worked without any problems (I installed Codeception via composer).

What's the purpose of this check?
Is it still necessary or can it be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions