File tree 3 files changed +11
-0
lines changed
3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 23
23
"codeigniter4/settings" : " ^2.0"
24
24
},
25
25
"require-dev" : {
26
+ "codeigniter/coding-standard" : " 1.7.*" ,
26
27
"codeigniter4/devkit" : " ^1.0" ,
27
28
"codeigniter4/framework" : " ^4.1" ,
29
+ "phpunit/phpunit" : " ^9.6" ,
28
30
"rector/rector" : " 1.1.1"
29
31
},
30
32
"minimum-stability" : " dev" ,
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