Skip to content

Commit 9bdce79

Browse files
committed
Support Symfony 6
* Remove EOL PHP and Symfony versions. * Upgrade PHPStan.
1 parent 3ebe5f0 commit 9bdce79

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 1.3.0 -
4+
5+
- Support Symfony 6
6+
37
## 1.2.0 - 2020-11-30
48

59
- Support PHP 8

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
],
1313
"require": {
1414
"php": "^7.2 || ^8.0",
15-
"guzzlehttp/psr7": "^1.7",
15+
"guzzlehttp/psr7": "^1.7 || ^2.0",
1616
"php-http/client-common": "^2.0",
1717
"psr/log": "^1.1",
18-
"symfony/filesystem": "^3.4|^4.0|^5.0",
19-
"symfony/options-resolver": "^3.4|^4.0|^5.0"
18+
"symfony/filesystem": "^4.0|^5.0|^6.0",
19+
"symfony/options-resolver": "^4.0|^5.0|^6.0"
2020
},
2121
"require-dev": {
22-
"symfony/phpunit-bridge": "^4.2|^5.0",
23-
"phpstan/phpstan": "^0.12.57"
22+
"symfony/phpunit-bridge": "^4.2|^5.0|^6.0",
23+
"phpstan/phpstan": "^1.0"
2424
},
2525
"autoload": {
2626
"psr-4": {

src/Recorder/FilesystemRecorder.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Psr\Http\Message\ResponseInterface;
99
use Psr\Log\LoggerAwareInterface;
1010
use Psr\Log\LoggerAwareTrait;
11+
use Psr\Log\LoggerInterface;
1112
use Psr\Log\NullLogger;
1213
use Symfony\Component\Filesystem\Exception\IOException;
1314
use Symfony\Component\Filesystem\Filesystem;
@@ -37,6 +38,11 @@ final class FilesystemRecorder implements RecorderInterface, PlayerInterface, Lo
3738
*/
3839
private $filters;
3940

41+
/**
42+
* @var LoggerInterface
43+
*/
44+
protected $logger;
45+
4046
/**
4147
* @param array<string, string> $filters
4248
*/

0 commit comments

Comments
 (0)