Skip to content

Commit

Permalink
Merge pull request #3 from mleczakm/master
Browse files Browse the repository at this point in the history
Fix support for symfony 4.0
  • Loading branch information
ojrzenski authored Dec 8, 2017
2 parents 9bf0204 + 8604708 commit 043169d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions DataCollector/QueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,14 @@ public function getName()
return 'doctrine_profiler';
}

/**
* @return void
*/
public function reset()
{
$this->data = array();
}

/**
* Returns "internal" namespaces for query source selection
*
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"php": ">=5.4",
"doctrine/orm": "~2.4",
"doctrine/doctrine-bundle": "~1.2",
"symfony/framework-bundle": "~2.6 || ~3.0"
"symfony/framework-bundle": "~2.6 || ~3.0 || ~4.0",
"symfony/stopwatch": "~2.6 || ~3.0 || ~4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
Expand Down

0 comments on commit 043169d

Please sign in to comment.