Skip to content

Commit

Permalink
Merge pull request #496 from doctrine/3.2.x-merge-up-into-3.3.x_0oMNZ8bR
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed May 31, 2023
2 parents fdd08c2 + 05490c7 commit 02378aa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Collector/MigrationsCollector.php
Expand Up @@ -82,6 +82,9 @@ public function getData()
return $this->data;
}

/**
* @return void
*/
public function reset()
{
$this->data = [];
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Expand Up @@ -148,7 +148,7 @@ public function getConfigTreeBuilder(): TreeBuilder
->end()
->end()
->booleanNode('enable_profiler')
->info('Use profiler to calculate and visualize migration status.')
->info('Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.')
->defaultFalse()
->end()
->booleanNode('transactional')
Expand Down
1 change: 1 addition & 0 deletions DoctrineMigrationsBundle.php
Expand Up @@ -14,6 +14,7 @@
*/
class DoctrineMigrationsBundle extends Bundle
{
/** @return void */
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new ConfigureDependencyFactoryPass());
Expand Down
2 changes: 1 addition & 1 deletion README.markdown
@@ -1,7 +1,7 @@
DoctrineMigrationsBundle
========================

This bundle integrates the [Doctrine2 Migrations library](http://www.doctrine-project.org/projects/migrations.html)
This bundle integrates the [Doctrine Migrations library](http://www.doctrine-project.org/projects/migrations.html)
into Symfony applications. Database migrations help you version the changes in
your database schema and apply them in a predictable way on every server running
the application.
Expand Down
3 changes: 3 additions & 0 deletions Resources/doc/index.rst
Expand Up @@ -83,6 +83,9 @@ application:
# Whether or not to wrap migrations in a single transaction.
transactional: true
# Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.
# enable_profiler: false
services:
# Custom migration sorting service id
'Doctrine\Migrations\Version\Comparator': ~
Expand Down

0 comments on commit 02378aa

Please sign in to comment.