davaxi/AllMySMS

View on GitHub
src/Model.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            throw new \InvalidArgumentException('Invalid date. Allowed format YYYY-MM-DD HH:ii:ss or relative');
Severity: Minor
Found in src/Model.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 '64', column '23').
Open

            throw new \InvalidArgumentException('Invalid sender. Only allowed a-z / A-Z / 0-9');
Severity: Minor
Found in src/Model.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 '106', column '27').
Open

                throw new \InvalidArgumentException('Invalid params key ' . $key . '. Expected key : ' . $expectedKey);
Severity: Minor
Found in src/Model.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 '187', column '23').
Open

            throw new \InvalidArgumentException('Invalid videp path. Allowed only : ' . static::ALLOWED_VIDEO_EXTENSIONS);
Severity: Minor
Found in src/Model.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 '58', column '23').
Open

            throw new \InvalidArgumentException('Invalid sender. Max allowed ' . static::SENDER_MAX_LENGTH . ' chars.');
Severity: Minor
Found in src/Model.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 '61', column '23').
Open

            throw new \InvalidArgumentException('Invalid sender. Min allowed ' . static::SENDER_MIN_LENGTH . ' chars.');
Severity: Minor
Found in src/Model.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 '109', column '27').
Open

                throw new \InvalidArgumentException('Invalid params value for key ' . $key . '. Expected string value');
Severity: Minor
Found in src/Model.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('Message is to long. Allow only ' . static::MESSAGES_MAX_LENGTH . ' chars. Current message have ' . $messageLength . ' chars');
Severity: Minor
Found in src/Model.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 '199', column '23').
Open

            throw new \InvalidArgumentException('Invalid picture path. Allowed only : ' . static::ALLOWED_PICTURE_EXTENSIONS);
Severity: Minor
Found in src/Model.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 '67', column '23').
Open

            throw new \InvalidArgumentException('Invalid sender. Necessary start with a-z / A-Z');
Severity: Minor
Found in src/Model.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 '92', column '23').
Open

            throw new \InvalidArgumentException('Invalid recipient number : ' . $recipient . '. Only international format started with 00 or +. Or french number');
Severity: Minor
Found in src/Model.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 '175', column '23').
Open

            throw new \InvalidArgumentException('Invalid sound path. Allowed only : ' . static::ALLOWED_SOUND_EXTENSIONS);
Severity: Minor
Found in src/Model.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