nexylan/slack

View on GitHub

Showing 4 of 4 total issues

Attachment has 41 functions (exceeds 20 allowed). Consider refactoring.
Open

final class Attachment
{
    /**
     * The fallback text to use for clients that don't support attachments.
     *
Severity: Minor
Found in src/Attachment.php - About 5 hrs to fix

    Message has 24 functions (exceeds 20 allowed). Consider refactoring.
    Open

    final class Message implements MessageInterface
    {
        /**
         * Reference to the Slack client responsible for sending
         * the message.
    Severity: Minor
    Found in src/Message.php - About 2 hrs to fix

      Method __construct has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function __construct(
              HttpClientInterface $httpClient,
              RequestFactoryInterface $requestFactory,
              StreamFactoryInterface $streamFactory,
              string $endpoint,
      Severity: Minor
      Found in src/Client.php - About 1 hr to fix

        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                HttpClientInterface $httpClient,
                RequestFactoryInterface $requestFactory,
                StreamFactoryInterface $streamFactory,
                string $endpoint,
                array $options = []
        Severity: Minor
        Found in src/Client.php - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language