Skip to content
This repository was archived by the owner on Nov 24, 2019. It is now read-only.
This repository was archived by the owner on Nov 24, 2019. It is now read-only.

[Insight] PHP configuration should not be changed dynamically - in src/…/Deployers/DockerDeployer.php, line 115 #2

@beniwtv

Description

@beniwtv

in src/GitDeployer/Deployers/DockerDeployer.php, line 115

Changing PHP configuration dynamically through ini_set() may create hard to debug errors.

                            $cases = array (
                                array ('Enter passphrase', PASSWORD)
                            );

                            ini_set("expect.timeout",30);

                            switch (expect_expectl ($stream, $cases)) {
                                case PASSWORD:
                                    fwrite ($stream, $config['ssh']['password'] . "\n");

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions