Skip to content

Commit 6a60c78

Browse files
committed
Fix lowest dependencies
1 parent ad262d9 commit 6a60c78

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
"require-dev": {
2929
"ext-pdo_sqlite": "*",
3030
"doctrine/common": "^2.6",
31-
"doctrine/doctrine-bundle": "^1.6.7|^2.0",
31+
"doctrine/doctrine-bundle": "^2.0",
3232
"doctrine/orm": "^2.5",
33+
"doctrine/persistence": "^1.3",
3334
"friendsofphp/php-cs-fixer": "^2.7",
3435
"mongodb/mongodb": "^1.2",
35-
"phpunit/phpunit": "^7.1",
36+
"phpunit/phpunit": "^7.5",
3637
"ruflin/elastica": "^6.0|^7.0",
3738
"symfony/browser-kit": "^4.1|^5.0",
3839
"symfony/css-selector": "^4.1|^5.0",

tests/Fixtures/AppBundle/Controller/HomeController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class HomeController extends AbstractController
2727
{
2828
public function showAction(Request $request, DataTableFactory $dataTableFactory)
2929
{
30-
$datatable1 = $this->createDataTable();
30+
$datatable1 = $dataTableFactory->create();
3131
$datatable1
3232
->add('col1', TextColumn::class, ['label' => 'foo', 'field' => 'bar'])
3333
->add('col2', TextColumn::class, ['label' => 'bar', 'field' => 'foo'])
3434
;
3535

36-
$datatable2 = $this->createDataTable();
36+
$datatable2 = $dataTableFactory->create();
3737
$datatable2
3838
->setName('noCDN')
3939
->setMethod(Request::METHOD_GET)

0 commit comments

Comments
 (0)