This method's name is shorter than the configured minimum length of 3 characters.
Even though PHP does not care about the name of your methods, it is generally a
good practice to choose method names which can be easily understood by other human
readers.
Loading history...
14
{
15
// this up() migration is auto-generated, please modify it to your needs
16
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
This line exceeds maximum limit of 120 characters; contains 143 characters
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum
limit on the number of characters in a line.
Loading history...
17
18
$this->addSql('CREATE TABLE app_users (id INT AUTO_INCREMENT NOT NULL, username VARCHAR(25) NOT NULL, password VARCHAR(64) NOT NULL, email VARCHAR(254) NOT NULL, is_active TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_C2502824F85E0677 (username), UNIQUE INDEX UNIQ_C2502824E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB');
Even though PHP does not care about the name of your methods, it is generally a good practice to choose method names which can be easily understood by other human readers.