These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper; |
||
3 | use Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand; |
||
4 | use Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand; |
||
5 | use Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand; |
||
6 | use Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand; |
||
7 | use Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand; |
||
8 | use Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand; |
||
9 | use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper; |
||
10 | use UseAllFive\Command\LoadDataFixturesDoctrineCommand; |
||
11 | use Symfony\Component\Console\Helper\HelperSet; |
||
12 | use Symfony\Component\Console\Helper\DialogHelper; |
||
13 | |||
14 | $app = require __DIR__ . DIRECTORY_SEPARATOR . 'bootstrap.php'; |
||
15 | |||
16 | $helperSet = new HelperSet(array( |
||
17 | 'db' => new ConnectionHelper($app['doctrine_orm.em']->getConnection()), |
||
18 | 'em' => new EntityManagerHelper($app['doctrine_orm.em']), |
||
19 | 'dialog' => new DialogHelper(), |
||
0 ignored issues
–
show
|
|||
20 | )); |
||
21 | |||
22 | $commands = array( |
||
23 | new LoadDataFixturesDoctrineCommand(), |
||
24 | new DiffCommand(), |
||
25 | new ExecuteCommand(), |
||
26 | new GenerateCommand(), |
||
27 | new MigrateCommand(), |
||
28 | new StatusCommand(), |
||
29 | new VersionCommand() |
||
30 | ); |
||
31 | |||
32 | return $helperSet; |
||
33 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.