Skip to content

[Insight] Unused method, property, variable or parameter - in src/Reader/XmlStreamReader.php, line 283 #1

Description

@dkreuer

in src/Reader/XmlStreamReader.php, line 283

This stopParsing local variable is declared but never used. You should remove it.

    {
        $this->logger->debug("method entry", ["method" => __FUNCTION__, "tag" => $tag]);

        array_push($this->currentPath, "$tag");

        $stopParsing = $this->fireAttributeCallbacks($attributes) === false;

        foreach ($this->callbacks as $path) {
            /** @var XmlPath $path */
            if ($path->getPath() !== $this->getCurrentPath()) {
                continue;

Posted from SensioLabsInsight

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