Version123::up()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Zenify\DoctrineMigrations\Tests\Migrations;
6
7
use Doctrine\DBAL\Migrations\AbstractMigration;
8
use Doctrine\DBAL\Schema\Schema;
9
use Zenify\DoctrineMigrations\Tests\Configuration\ConfigurationSource\SomeService;
10
11
12
final class Version123 extends AbstractMigration
13
{
14
15
	/**
16
	 * @inject
17
	 * @var SomeService
18
	 */
19
	public $someService;
20
21
22
	public function up(Schema $schema)
23
	{
24
		$this->addSql('CREATE TABLE "category" ( "id" integer NOT NULL );');
25
	}
26
27
28
	public function down(Schema $schema)
29
	{
30
	}
31
32
}
33