Issues (14)

src/ChatCommand.php (2 issues)

1
<?php
0 ignored issues
show
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 8 and the first side effect is on line 11.
Loading history...
2
declare(strict_types=1);
3
4
namespace HeroesofAbenez\Chat;
5
6
if(false) {
0 ignored issues
show
Avoid IF statements that are always true or false
Loading history...
7
  /** @deprecated use BaseChatCommand */
8
  abstract class ChatCommand extends BaseChatCommand {
9
  }
10
} else {
11
  class_alias(BaseChatCommand::class, ChatCommand::class);
12
}
13
?>