Skip to content

Commit

Permalink
Merge branch 'prepare-1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Aug 5, 2017
2 parents 1daeb9d + bd506ad commit e1ec99d
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# From 1.1 to 1.2

## IMPORTANT BC Break
## IMPORTANT DEPRECATED

The class `Okvpn\Bundle\MigrationBundle\Migration\DataFixturesExecutor, Okvpn\Bundle\MigrationBundle\Entity\DataFixture`,
command `okvpn:migration:data:load` were marked as deprecated. Fixtures package will be moved to another separate repository

2 changes: 1 addition & 1 deletion src/Command/DiffMigrationsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function configure()
'Migration version',
'v1_0'
)
->setDescription('Diff');
->setDescription('Compare current existing database structure with orm structure');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/LoadDataFixturesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Okvpn\Bundle\MigrationBundle\Migration\DataFixturesExecutorInterface;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class LoadDataFixturesCommand extends ContainerAwareCommand
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/DataFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\ORM\Mapping as ORM;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*
* @ORM\Table("okvpn_migrations_data")
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Repository/DataFixtureRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Okvpn\Bundle\MigrationBundle\Entity\DataFixture;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class DataFixtureRepository extends EntityRepository
Expand Down
2 changes: 1 addition & 1 deletion src/Fixture/AbstractEntityReferenceFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Doctrine\ORM\EntityRepository;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
abstract class AbstractEntityReferenceFixture extends AbstractFixture implements FixtureInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Fixture/LoadedFixtureVersionAwareInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Okvpn\Bundle\MigrationBundle\Fixture;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
interface LoadedFixtureVersionAwareInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Fixture/VersionedFixtureInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Okvpn\Bundle\MigrationBundle\Fixture;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
interface VersionedFixtureInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/DataFixturesExecutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Executes ORM data fixtures.
*
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class DataFixturesExecutor implements DataFixturesExecutorInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/DataFixturesExecutorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/**
* Provides an interface of data fixtures executor.
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
interface DataFixturesExecutorInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Loader/DataFixturesLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Okvpn\Bundle\MigrationBundle\Fixture\LoadedFixtureVersionAwareInterface;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class DataFixturesLoader extends ContainerAwareLoader
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Sorter/DataFixturesSorter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Issue solved is notices during fixtures sorting
*
* @TODO could be removed when https://github.com/doctrine/data-fixtures/issues/148 will be resolved
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class DataFixturesSorter
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/UpdateDataFixturesFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Okvpn\Bundle\MigrationBundle\Entity\DataFixture;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class UpdateDataFixturesFixture extends AbstractFixture
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Functional/DataFixtures/LoadDataFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Symfony\Component\Yaml\Yaml;

/**
* @deprecated since 1.2 and will be removed in 1.3. Fixtures package will be moved to another separate repository,
* @deprecated since 1.2 and will be removed in 2.0. Fixtures package will be moved to another separate repository,
* it step needed to reduces the count of not necessary dependencies
*/
class LoadDataFixtures extends AbstractFixture
Expand Down

0 comments on commit e1ec99d

Please sign in to comment.