davaxi/VCalendar

View on GitHub
src/VCalendar/_/Attendee.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            throw new \InvalidArgumentException('invalid RSVP value. Only boolean is accepted');
Severity: Minor
Found in src/VCalendar/_/Attendee.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 '35', column '23').
Open

            throw new \InvalidArgumentException('Invalid attendee role: ' . $role . '. Available only CHAIR / REQ-PARTICIPANT / OPT-PARTICIPANT / NON-PARTICIPANT');
Severity: Minor
Found in src/VCalendar/_/Attendee.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 '38', column '23').
Open

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