-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpsalm.xml
More file actions
47 lines (47 loc) · 2.01 KB
/
psalm.xml
File metadata and controls
47 lines (47 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<psalm
errorLevel="4"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src" />
</projectFiles>
<issueHandlers>
<!-- The Override attribute requires PHP 8.3+, but this package targets PHP 8.0+. -->
<MissingOverrideAttribute errorLevel="suppress" />
<!-- Aura\Html\HelperLocator exposes helpers via __get/__call magic methods. -->
<UndefinedMagicMethod>
<errorLevel type="suppress">
<referencedMethod name="Aura\Html\HelperLocator::input" />
<referencedMethod name="Aura\Html\HelperLocator::form" />
</errorLevel>
</UndefinedMagicMethod>
<!-- AntiCsrfInterface::isValid declares array<array-key, mixed>; our implementation accepts the same shape via array<string, mixed>. -->
<MoreSpecificImplementedParamType>
<errorLevel type="suppress">
<file name="src/AntiCsrf.php" />
</errorLevel>
</MoreSpecificImplementedParamType>
<!--
Psalm misresolves Ray\Di\Bind and Ray\Aop\Pointcut signatures inside
Ray\Di\AbstractModule::bindInterceptor() when AbstractModule is reached
through a two-level inheritance chain (AuraInputModule -> WebFormModule
-> AbstractModule). The vendor code itself is correct.
-->
<InvalidArgument>
<errorLevel type="suppress">
<referencedFunction name="Ray\Aop\Pointcut::__construct" />
</errorLevel>
</InvalidArgument>
<TooManyArguments>
<errorLevel type="suppress">
<referencedFunction name="Ray\Di\Bind::__construct" />
</errorLevel>
</TooManyArguments>
</issueHandlers>
</psalm>