eustasy/.normal

View on GitHub
check-xml.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '4', column '13').
Open

    $xml = new XMLReader();
Severity: Minor
Found in check-xml.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 3 and the first side effect is on line 10.
Open

<?php
Severity: Minor
Found in check-xml.php by phpcodesniffer

There are no issues that match your filters.

Category
Status