Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

[Insight] PHP debug statements found - in src/Api.php, line 327 #12

Open
@Snider

Description

@Snider

in src/Api.php, line 327

var_dump() should only be used for debug, and not committed to the source code repository.

            $res = false;
        } else {
            if ($this->debug) {
                $meta = stream_get_meta_data($fp);
                $this->error(
                    'Var dump of HTTP headers' . var_dump($meta['wrapper_data'])
                );
            }

            $res = stream_get_contents($fp);
        }

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