File tree 2 files changed +11
-2
lines changed
src/Symfony/Component/Cache/Tests
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 38
38
<referencedClass name =" ReflectionIntersectionType" />
39
39
<referencedClass name =" UnitEnum" />
40
40
</errorLevel >
41
- </UndefinedDocblockClass >
41
+ </UndefinedDocblockClass >
42
+ <UnusedConstructor >
43
+ <errorLevel type =" suppress" >
44
+ <!--
45
+ We use private constructors to avoid instantiation.
46
+ This kind of error is bogus in most cases.
47
+ -->
48
+ <directory name =" src/Symfony" />
49
+ </errorLevel >
50
+ </UnusedConstructor >
42
51
<UndefinedAttributeClass >
43
52
<errorLevel type =" suppress" >
44
53
<!-- These classes have been added in PHP 8.2 -->
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function testFiles()
23
23
}
24
24
$ lockFiles = LockRegistry::setFiles ([]);
25
25
LockRegistry::setFiles ($ lockFiles );
26
- $ expected = array_map ('realpath ' , glob (__DIR__ .'/../Adapter/* ' ));
26
+ $ expected = array_map ('realpath ' , glob (__DIR__ .'/../Adapter/*.php ' ));
27
27
$ this ->assertSame ($ expected , $ lockFiles );
28
28
}
29
29
}
You can’t perform that action at this time.
0 commit comments