File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 9
9
}
10
10
],
11
11
"require" : {
12
- "php" : " ^7.4 || ^8.0 " ,
12
+ "php" : " ^8.1 " ,
13
13
"symfony/filesystem" : " ^4.2 || ^5.0 || ^6.0" ,
14
14
"psr/log" : " ^1.0 || ^2.0 || ^3.0"
15
15
},
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class ComposerClassToFile implements ClassToFile
15
15
16
16
private LoggerInterface $ logger ;
17
17
18
- public function __construct (ClassLoader $ classLoader , LoggerInterface $ logger = null )
18
+ public function __construct (ClassLoader $ classLoader , ? LoggerInterface $ logger = null )
19
19
{
20
20
$ this ->classLoader = $ classLoader ;
21
21
$ this ->logger = $ logger ?: new NullLogger ();
Original file line number Diff line number Diff line change 11
11
use Phpactor \ClassFileConverter \Domain \ClassNameCandidates ;
12
12
use Phpactor \ClassFileConverter \Domain \FilePath ;
13
13
use Prophecy \PhpUnit \ProphecyTrait ;
14
+ use Prophecy \Prophecy \ObjectProphecy ;
14
15
15
16
class CompositeTransformerTest extends TestCase
16
17
{
17
18
use ProphecyTrait;
18
19
19
20
private $ transformer ;
20
21
22
+ private ObjectProphecy $ classToFile ;
23
+
24
+ private ObjectProphecy $ fileToClassCandidates ;
25
+
21
26
public function setUp (): void
22
27
{
23
28
$ this ->classToFile = $ this ->prophesize (ClassToFile::class);
You can’t perform that action at this time.
0 commit comments