mikecbrant/php-rest-client

View on GitHub

Showing 42 of 42 total issues

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

            throw new \InvalidArgumentException('curl_getinfo() response array expects string value at content_type key.');

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 '635', column '23').
Open

            throw new \InvalidArgumentException('A non-string value was passed for action parameter');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '331', column '23').
Open

            throw new \InvalidArgumentException('An empty array was passed for data parameter');
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '649', column '23').
Open

            throw new \InvalidArgumentException('An empty value was passed for data parameter');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '139', column '23').
Open

            throw new \InvalidArgumentException('curl_getinfo() response array expects integer value at http_code key.');

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 '489', column '23').
Open

            throw new \Exception('curl failed to initialize.');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '313', column '23').
Open

            throw new \LengthException('Length of actions array exceeds maxHandles setting.');
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '299', column '23').
Open

            throw new \InvalidArgumentException('Non-boolean value passed as parameter.');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '338', column '23').
Open

            throw new \InvalidArgumentException('Empty array passed when triyng to set headers');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '282', column '23').
Open

            throw new \InvalidArgumentException('Non-boolean value passed as parameter.');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '186', column '23').
Open

            throw new \Exception('multi_curl handle failed to initialize.');
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '228', column '23').
Open

            throw new \Exception('curl_multi_exec failed with status "' . $status . '"');
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '319', column '23').
Open

            throw new \InvalidArgumentException('Password not provided when trying to set basic authentication credentials.');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '334', column '23').
Open

            throw new \LengthException('Length of data array exceeds maxHandles setting.');
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '136', column '23').
Open

            throw new \InvalidArgumentException('Empty array passed. Valid curl_getinfo() result array expected.');

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 '145', column '23').
Open

            throw new \InvalidArgumentException('curl_getinfo() response array expects string value at url key.');

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 '261', column '23').
Open

            throw new \InvalidArgumentException('Non-string URI base provided.');
Severity: Minor
Found in src/RestClientLib/RestClient.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 '148', column '23').
Open

            throw new \InvalidArgumentException('curl_getinfo() response array expects string value at request_header key.');

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 '241', column '27').
Open

                throw new \Exception(
Severity: Minor
Found in src/RestClientLib/RestMultiClient.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 '574', column '23').
Open

            throw new \Exception(
Severity: Minor
Found in src/RestClientLib/RestClient.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

Severity
Category
Status
Source
Language