File tree Expand file tree Collapse file tree 4 files changed +37
-7
lines changed Expand file tree Collapse file tree 4 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 17
17
"symfony/yaml" : " ^4.4|^5.4|^6.0" ,
18
18
"symfony/service-contracts" : " ^2|^3"
19
19
},
20
+ "require-dev" : {
21
+ "vimeo/psalm" : " ^5.15"
22
+ },
20
23
"minimum-stability" : " dev" ,
21
24
"prefer-stable" : true
22
25
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ phpVersion="8.1" used to avoid `ReservedWord` issues with installed Symfony 6+ packages (which required 8.1).
4
+ Probably there existent another easy workaround, but we didn't find it yet.
5
+ -->
6
+ <!-- suppress XmlDefaultAttributeValue Psalm emits warning: "findUnusedCode" will default to "true" in Psalm 6. You should explicitly enable or disable this setting. -->
7
+ <psalm
8
+ errorLevel =" 6"
9
+ phpVersion =" 8.1"
10
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ xmlns =" https://getpsalm.org/schema/config"
12
+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
13
+ findUnusedBaselineEntry =" true"
14
+ findUnusedCode =" false"
15
+ >
16
+ <projectFiles >
17
+ <directory name =" src" />
18
+ <ignoreFiles >
19
+ <directory name =" vendor" />
20
+ </ignoreFiles >
21
+ </projectFiles >
22
+
23
+ <issueHandlers >
24
+ <UndefinedMethod >
25
+ <errorLevel type =" suppress" >
26
+ <!-- BC layer for Symfony 4.4 -->
27
+ <referencedMethod name =" Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest" />
28
+
29
+ <!-- Psalm doesn't know about type-system of `symfony/config` -->
30
+ <file name =" src/DependencyInjection/Configuration.php" />
31
+ </errorLevel >
32
+ </UndefinedMethod >
33
+ </issueHandlers >
34
+ </psalm >
Original file line number Diff line number Diff line change 12
12
13
13
class EnvContextExtractor implements ContextExtractorInterface, EventSubscriberInterface
14
14
{
15
- /**
16
- * @var CodecInterface[]
17
- */
18
15
private $ registry ;
19
16
20
17
private $ format ;
Original file line number Diff line number Diff line change 3
3
4
4
namespace Jaeger \Symfony \Context \Extractor ;
5
5
6
- use Jaeger \Codec \CodecInterface ;
7
6
use Jaeger \Codec \CodecRegistry ;
8
7
use Jaeger \Span \Context \SpanContext ;
9
8
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
14
13
15
14
class HeaderContextExtractor implements ContextExtractorInterface, EventSubscriberInterface, ResetInterface
16
15
{
17
- /**
18
- * @var CodecInterface[]
19
- */
20
16
private $ registry ;
21
17
22
18
private $ format ;
You can’t perform that action at this time.
0 commit comments