Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
13 | public function setUp() |
||
14 | { |
||
15 | $this->bundleDirectory = '/tmp/FooBundle'; |
||
16 | $migrationsDirectoryInBundle = $this->bundleDirectory . '/Resources/migrations'; |
||
17 | $this->migrationFiles = array( |
||
18 | $migrationsDirectoryInBundle . '/1.php', |
||
19 | $migrationsDirectoryInBundle . '/2.php', |
||
20 | ); |
||
21 | |||
22 | $this->fileSystem = new Filesystem(); |
||
23 | $this->fileSystem->mkdir($migrationsDirectoryInBundle); |
||
24 | $this->fileSystem->touch($this->migrationFiles); |
||
25 | } |
||
26 | |||
48 |