davaxi/VCalendar

View on GitHub
src/VCalendar.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '203', column '23').
Open

            throw new \InvalidArgumentException('Invalid representation of creation date time: ' . $dateTime);
Severity: Minor
Found in src/VCalendar.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

Missing class import via use statement (line '110', column '23').
Open

            throw new \InvalidArgumentException('Invalid url: ' . $url);
Severity: Minor
Found in src/VCalendar.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

Missing class import via use statement (line '143', column '23').
Open

            throw new \InvalidArgumentException('Invalid method: ' . $method . '. Available only REQUEST / PUBLISH');
Severity: Minor
Found in src/VCalendar.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

Missing class import via use statement (line '215', column '23').
Open

            throw new \InvalidArgumentException('Invalid representation of last updated date time: ' . $dateTime);
Severity: Minor
Found in src/VCalendar.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

Missing class import via use statement (line '121', column '23').
Open

            throw new \InvalidArgumentException('Invalid status: ' . $status . '. Available only TENTATIVE / CONFIRMED / CANCELED');
Severity: Minor
Found in src/VCalendar.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

Missing class import via use statement (line '132', column '23').
Open

            throw new \InvalidArgumentException('Invalid class: ' . $class . '. Available only PRIVATE / PUBLIC / CONFIDENTIAL');
Severity: Minor
Found in src/VCalendar.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

There are no issues that match your filters.

Category
Status