| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class Version20200323102013 extends AbstractMigration |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param Schema $schema |
||
| 16 | */ |
||
| 17 | public function up(Schema $schema) |
||
| 18 | { |
||
| 19 | // this up() migration is auto-generated, please modify it to your needs |
||
| 20 | $this->abortIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\'.'); |
||
|
|
|||
| 21 | |||
| 22 | $this->addSql('CREATE TABLE export_geodis_log (id INT AUTO_INCREMENT NOT NULL, code LONGTEXT NOT NULL, message LONGTEXT NOT NULL, called LONGTEXT NOT NULL, occured LONGTEXT NOT NULL, created_at DATETIME NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Schema $schema |
||
| 27 | */ |
||
| 28 | public function down(Schema $schema) |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.