Skip to content

Commit

Permalink
chore: support symfony 5
Browse files Browse the repository at this point in the history
DataCollector::collect method signature change since SF 4.4
  • Loading branch information
SelviA authored and Selvi ARIK committed Jul 14, 2020
1 parent 4e7df16 commit ba6b22f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
},
"require": {
"php": "^7.1.3",
"symfony/property-access": "^3.4 || ^4.0",
"symfony/property-access": "^4.4 || ^5.0",
"m6web/statsd": "^1.3"
},
"require-dev": {
"atoum/atoum": "^2.8|^3.0",
"symfony/symfony": "^3.4 || ^4.0 || ^5.0",
"symfony/symfony": "^4.4 || ^5.0",
"m6web/coke" : "~1.2",
"m6web/symfony2-coding-standard" : "~1.2"
},
Expand Down
4 changes: 2 additions & 2 deletions src/DataCollector/StatsdDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public function addStatsdClient($clientAlias, $statsdClient)
*
* @param Request $request The request object
* @param Response $response The response object
* @param \Exception $exception An exception
* @param \Throwable $exception An exception
*/
public function collect(Request $request, Response $response, \Exception $exception = null)
public function collect(Request $request, Response $response, \Throwable $exception = null)
{
}

Expand Down

0 comments on commit ba6b22f

Please sign in to comment.