lib/Doctrine/Migrations/Configuration/Migration/JsonFile.php 1 location
|
@@ 35-40 (lines=6) @@
|
| 32 |
|
throw JsonNotValid::new(); |
| 33 |
|
} |
| 34 |
|
|
| 35 |
|
if (isset($config['migrations_paths'])) { |
| 36 |
|
$config['migrations_paths'] = $this->getDirectoriesRelativeToFile( |
| 37 |
|
$config['migrations_paths'], |
| 38 |
|
$this->file |
| 39 |
|
); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
return (new ConfigurationArray($config))->getConfiguration(); |
| 43 |
|
} |
lib/Doctrine/Migrations/Configuration/Migration/PhpFile.php 1 location
|
@@ 27-32 (lines=6) @@
|
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
assert(is_array($config)); |
| 27 |
|
if (isset($config['migrations_paths'])) { |
| 28 |
|
$config['migrations_paths'] = $this->getDirectoriesRelativeToFile( |
| 29 |
|
$config['migrations_paths'], |
| 30 |
|
$this->file |
| 31 |
|
); |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
return (new ConfigurationArray($config))->getConfiguration(); |
| 35 |
|
} |
lib/Doctrine/Migrations/Configuration/Migration/XmlFile.php 1 location
|
@@ 48-53 (lines=6) @@
|
| 45 |
|
); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
if (isset($config['migrations_paths'])) { |
| 49 |
|
$config['migrations_paths'] = $this->getDirectoriesRelativeToFile( |
| 50 |
|
$config['migrations_paths'], |
| 51 |
|
$this->file |
| 52 |
|
); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
return (new ConfigurationArray($config))->getConfiguration(); |
| 56 |
|
} |
lib/Doctrine/Migrations/Configuration/Migration/YamlFile.php 1 location
|
@@ 45-50 (lines=6) @@
|
| 42 |
|
throw YamlNotValid::invalid(); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
if (isset($config['migrations_paths'])) { |
| 46 |
|
$config['migrations_paths'] = $this->getDirectoriesRelativeToFile( |
| 47 |
|
$config['migrations_paths'], |
| 48 |
|
$this->file |
| 49 |
|
); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
return (new ConfigurationArray($config))->getConfiguration(); |
| 53 |
|
} |