Skip to content

String values from return statements are not scoped properly #291

Closed
@theofidry

Description

@theofidry

Bug report

Question Answer
Box version 3.3.0
PHP version 0.11.3

Example:

private function getReadlineClass()
    {
        if ($this->useReadline()) {
            if (\_HumbugBox4a1434feb5ef\Psy\Readline\GNUReadline::isSupported()) {
                return 'Psy\\Readline\\GNUReadline';
            } elseif (\_HumbugBox4a1434feb5ef\Psy\Readline\Libedit::isSupported()) {
                return 'Psy\\Readline\\Libedit';
            } elseif (\_HumbugBox4a1434feb5ef\Psy\Readline\HoaConsole::isSupported()) {
                return 'Psy\\Readline\\HoaConsole';
            }
        }
        return 'Psy\\Readline\\Transient';
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions