Skip to content

Commit 9f0dedf

Browse files
DocRomsRomuald_Priol
andauthored
feat(SF5): update (#58)
Co-authored-by: Romuald_Priol <romuald.priol@ext.euronews.com>
1 parent 306a8ae commit 9f0dedf

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# RedisBundle [![Build Status](https://travis-ci.org/M6Web/RedisBundle.png?branch=master)](https://travis-ci.org/M6Web/RedisBundle)
22

3-
symfony2 Bundle on top of predis
3+
symfony Bundle on top of predis
44

55
see [predis/predis](https://github.com/nrk/predis)
66

77
## features
88

99
* semantic configuration
10-
* sf2 event dispatcher integration
10+
* sf event dispatcher integration
1111
* session handler with redis storage : ```M6Web\Bundle\RedisBundle\Redis\RedisSessionHandler```
1212
* redis adapter for guzzle cache : ```M6Web\Bundle\RedisBundle\Guzzle\RedisCacheAdapter```
1313
* dataCollector for sf2 web profiler toolbar

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"bin-dir": "bin"
1414
},
1515
"require": {
16-
"php": ">=7.1",
16+
"php": "^7.2.5",
1717
"predis/predis": "^1.1.1",
1818
"doctrine/cache": "~1.3",
1919
"b1rdex/predis-compressible": "^0.3.0"
@@ -22,7 +22,7 @@
2222
"m6web/php-cs-fixer-config": "^1.0",
2323
"atoum/atoum": "@stable",
2424
"m6web/redis-mock": "@stable",
25-
"symfony/symfony": "~4.2",
25+
"symfony/symfony": "~5.0",
2626
"psr/cache": "~1.0"
2727
},
2828
"autoload": {

src/DataCollector/RedisDataCollector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ public function __construct()
2525
/**
2626
* Collect the data
2727
*
28-
* @param Request $request The request object
29-
* @param Response $response The response object
30-
* @param \Exception $exception An exception
28+
* @param Request $request The request object
29+
* @param Response $response The response object
30+
* @param \Throwable|null $exception An exception
3131
*/
32-
public function collect(Request $request, Response $response, \Exception $exception = null)
32+
public function collect(Request $request, Response $response, ?\Throwable $exception = null)
3333
{
3434
}
3535

0 commit comments

Comments
 (0)