-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #434 from mikeSimonson/fix-config-order
Fixing an issue in the order at which some configuration key are loaded
- Loading branch information
Showing
10 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name" : "Doctrine Sandbox Migrations", | ||
"migrations_namespace": "DoctrineMigrationsTest", | ||
"table_name" : "doctrine_migration_versions_test", | ||
"migrations_directory": ".", | ||
"migrations" : [] | ||
} | ||
|
8 changes: 8 additions & 0 deletions
8
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_1.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
return array( | ||
'name' => 'Doctrine Sandbox Migrations', | ||
'migrations_namespace' => 'DoctrineMigrationsTest', | ||
'table_name' => 'doctrine_migration_versions_test', | ||
'migrations_directory' => '.', | ||
'migrations' => array() | ||
); |
12 changes: 12 additions & 0 deletions
12
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<doctrine-migrations xmlns="http://doctrine-project.org/schemas/migrations/configuration" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://doctrine-project.org/schemas/migrations/configuration | ||
http://doctrine-project.org/schemas/migrations/configuration.xsd"> | ||
|
||
<name>Doctrine Sandbox Migrations</name> | ||
<migrations-namespace>DoctrineMigrationsTest</migrations-namespace> | ||
<table name="doctrine_migration_versions_test" /> | ||
<migrations-directory>.</migrations-directory> | ||
|
||
</doctrine-migrations> |
6 changes: 6 additions & 0 deletions
6
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
name: Doctrine Sandbox Migrations | ||
migrations_namespace: DoctrineMigrationsTest | ||
table_name: doctrine_migration_versions_test | ||
migrations_directory: . | ||
migrations: |
8 changes: 8 additions & 0 deletions
8
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name" : "Doctrine Sandbox Migrations", | ||
"migrations_directory": ".", | ||
"migrations_namespace": "DoctrineMigrationsTest", | ||
"table_name" : "doctrine_migration_versions_test", | ||
"migrations" : [] | ||
} | ||
|
8 changes: 8 additions & 0 deletions
8
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_2.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
return array( | ||
'name' => 'Doctrine Sandbox Migrations', | ||
'migrations_directory' => '.', | ||
'migrations_namespace' => 'DoctrineMigrationsTest', | ||
'table_name' => 'doctrine_migration_versions_test', | ||
'migrations' => array() | ||
); |
12 changes: 12 additions & 0 deletions
12
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<doctrine-migrations xmlns="http://doctrine-project.org/schemas/migrations/configuration" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://doctrine-project.org/schemas/migrations/configuration | ||
http://doctrine-project.org/schemas/migrations/configuration.xsd"> | ||
|
||
<name>Doctrine Sandbox Migrations</name> | ||
<migrations-directory>.</migrations-directory> | ||
<migrations-namespace>DoctrineMigrationsTest</migrations-namespace> | ||
<table name="doctrine_migration_versions_test" /> | ||
|
||
</doctrine-migrations> |
6 changes: 6 additions & 0 deletions
6
tests/Doctrine/DBAL/Migrations/Tests/Configuration/_files/config_order_2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
name: Doctrine Sandbox Migrations | ||
migrations_directory: . | ||
migrations_namespace: DoctrineMigrationsTest | ||
table_name: doctrine_migration_versions_test | ||
migrations: |