hrodic/php-integration-testing

View on GitHub

Showing 45 of 45 total issues

Line exceeds 120 characters; contains 134 characters
Open

    public function publishMessage(AMQPChannel $channel, string $body, array $properties, string $exchange, string $routingKey): void;
Severity: Minor
Found in src/Driver/AMQPService.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

    public function consumeMessage(AMQPChannel $channel, string $consumerTag, string $queue, callable $callback, int $timeout = 0): void

Line exceeds 120 characters; contains 125 characters
Open

                        'The following elements are not valid PDO configuration params: ' . json_encode($invalidConfigParams)

Line exceeds 120 characters; contains 122 characters
Open

                    'The following elements are not valid AMQP configuration params: ' . json_encode($invalidConfigParams)

The method PDO is not named in camelCase.
Open

    public function PDO(): PDO
    {
        return $this->PDO;
    }
Severity: Minor
Found in src/Driver/PDOConnection.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language