Skip to content

Code is not E_STRICT clean #5

@pkracht

Description

@pkracht

Could you please supply the correct parameters in lib / CHH / Optparse.php

eg. insert defaults before line 54ff like:

isset($options["alias"]) OR $options["alias"] = array();
isset($options["default"]) OR $options["default"] = NULL;
isset($options["has_value"]) OR $options["has_value"] = FALSE;
isset($options["help"]) OR $options["help"] = "";

(and remove the not working "@" since PHP 5.4 with E_STRICT by default)

$this->aliases = array_merge(array("--$name"), (array) $options["alias"]);
$this->defaultValue = $options["default"];
$this->hasValue = (bool) $options["has_value"];
$this->help = $options["help"];

Thank you very much...
Sincerely yours

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