Skip to content

Commit 02378aa

Browse files
authored
Merge pull request #496 from doctrine/3.2.x-merge-up-into-3.3.x_0oMNZ8bR
2 parents fdd08c2 + 05490c7 commit 02378aa

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

Collector/MigrationsCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public function getData()
8282
return $this->data;
8383
}
8484

85+
/**
86+
* @return void
87+
*/
8588
public function reset()
8689
{
8790
$this->data = [];

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getConfigTreeBuilder(): TreeBuilder
148148
->end()
149149
->end()
150150
->booleanNode('enable_profiler')
151-
->info('Use profiler to calculate and visualize migration status.')
151+
->info('Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.')
152152
->defaultFalse()
153153
->end()
154154
->booleanNode('transactional')

DoctrineMigrationsBundle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515
class DoctrineMigrationsBundle extends Bundle
1616
{
17+
/** @return void */
1718
public function build(ContainerBuilder $container)
1819
{
1920
$container->addCompilerPass(new ConfigureDependencyFactoryPass());

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DoctrineMigrationsBundle
22
========================
33

4-
This bundle integrates the [Doctrine2 Migrations library](http://www.doctrine-project.org/projects/migrations.html)
4+
This bundle integrates the [Doctrine Migrations library](http://www.doctrine-project.org/projects/migrations.html)
55
into Symfony applications. Database migrations help you version the changes in
66
your database schema and apply them in a predictable way on every server running
77
the application.

Resources/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ application:
8383
# Whether or not to wrap migrations in a single transaction.
8484
transactional: true
8585
86+
# Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.
87+
# enable_profiler: false
88+
8689
services:
8790
# Custom migration sorting service id
8891
'Doctrine\Migrations\Version\Comparator': ~

0 commit comments

Comments
 (0)