Showing 4 of 4 total issues
Attachment
has 41 functions (exceeds 20 allowed). Consider refactoring. Open
Open
final class Attachment
{
/**
* The fallback text to use for clients that don't support attachments.
*
Message
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
final class Message implements MessageInterface
{
/**
* Reference to the Slack client responsible for sending
* the message.
Method __construct
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct(
HttpClientInterface $httpClient,
RequestFactoryInterface $requestFactory,
StreamFactoryInterface $streamFactory,
string $endpoint,
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
HttpClientInterface $httpClient,
RequestFactoryInterface $requestFactory,
StreamFactoryInterface $streamFactory,
string $endpoint,
array $options = []