features/slack/lib/message_formatter.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class SlackMessageFormatter {
- Exclude checks
Expected 0 spaces between opening bracket and argument "$userId"; 1 found Open
Open
public function messageDiv( $userId, $messageText, $messageDateTime) {
- Exclude checks
Opening brace of a class must be on the line after the definition Open
Open
class SlackMessageFormatter {
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function code() {
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$this->message = preg_replace_callback('/<!(.*?)>/s',
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$this->message = preg_replace_callback('#```(.*?)```#s',
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function messageDiv( $userId, $messageText, $messageDateTime) {
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->message);
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function getMessage() {
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
$this->message);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
$this->message);
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$this->message = preg_replace_callback('/<#(.*?)>/s',
- Exclude checks
Opening brace should be on a new line Open
Open
public function setMessage($message) {
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
$this->message);
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$this->message = preg_replace_callback('#<http(.*?)>#s',
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function anchorTag() {
- Exclude checks
Opening brace should be on a new line Open
Open
public function userName() {
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function teamName() {
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct($userList) {
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$this->message = preg_replace_callback('#<@(.*?)>#s',
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->message);
- Exclude checks
Opening brace should be on a new line Open
Open
public function channelName() {
- Exclude checks