File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<psalm
3
+ phpVersion =" 8.1"
3
4
errorLevel =" 7"
4
5
resolveFromConfigFile =" true"
5
6
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6
7
xmlns =" https://getpsalm.org/schema/config"
7
8
xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8
9
autoloader =" psalm_autoload.php"
9
10
cacheDirectory =" build/psalm/"
11
+ findUnusedBaselineEntry =" false"
12
+ findUnusedCode =" false"
10
13
>
11
14
<projectFiles >
12
15
<directory name =" src/" />
Original file line number Diff line number Diff line change 11
11
12
12
foreach ($ helperDirs as $ dir ) {
13
13
$ dir = __DIR__ . '/ ' . $ dir ;
14
+ if (! is_dir ($ dir )) {
15
+ continue ;
16
+ }
17
+
14
18
chdir ($ dir );
15
19
16
20
foreach (glob ('*_helper.php ' ) as $ filename ) {
19
23
require_once $ filePath ;
20
24
}
21
25
}
26
+
27
+ chdir (__DIR__ );
You can’t perform that action at this time.
0 commit comments