-
Notifications
You must be signed in to change notification settings - Fork 198
/
psalm.xml
58 lines (58 loc) · 2.03 KB
/
psalm.xml
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
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0"?>
<psalm
autoloader="config/psalm/psalm-loader.php"
errorBaseline="config/psalm/psalm-baseline.xml"
memoizeMethodCallResults="true"
>
<projectFiles>
<file name="sensei-lms.php" />
<directory name="includes" />
<ignoreFiles allowMissingFiles="true">
<directory name="config" />
<directory name="includes/internal/emails/views" />
<directory name="sample-data" />
<directory name="third-party" />
<directory name="vendor" />
<directory name="vendor-bin" />
<directory name="widgets" />
</ignoreFiles>
</projectFiles>
<stubs>
<file name="sensei-lms.php" />
<file name="includes/template-functions.php" />
</stubs>
<issueHandlers>
<InternalClass errorLevel="suppress" />
<InternalMethod errorLevel="suppress" />
<MissingReturnType errorLevel="suppress" />
<RedundantCastGivenDocblockType errorLevel="suppress" />
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<referencedProperty name="Sensei_Main::$course_progress_repository_factory" />
<referencedProperty name="Sensei_Main::$lesson_progress_repository_factory" />
<referencedProperty name="Sensei_Main::$quiz_progress_repository_factory" />
<referencedProperty name="Sensei_REST_API_Lesson_Actions_Controller::$schema" />
<referencedProperty name="Sensei_PostTypes::$course" />
<referencedProperty name="Sensei_PostTypes::$lesson" />
<referencedProperty name="Sensei_PostTypes::$question" />
<referencedProperty name="Sensei_PostTypes::$quiz" />
<referencedProperty name="Sensei_PostTypes::$messages" />
</errorLevel>
</PropertyNotSetInConstructor>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="WP_CLI" />
</errorLevel>
</UndefinedClass>
<UndefinedFunction>
<errorLevel type="suppress">
<referencedFunction name="WP_CLI\Utils\format_items" />
</errorLevel>
</UndefinedFunction>
<InvalidScalarArgument>
<errorLevel type="suppress">
<referencedFunction name="esc_attr" />
</errorLevel>
</InvalidScalarArgument>
</issueHandlers>
</psalm>