File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 2323 "codeigniter4/settings" : " ^2.0"
2424 },
2525 "require-dev" : {
26+ "codeigniter/coding-standard" : " 1.7.*" ,
2627 "codeigniter4/devkit" : " ^1.0" ,
2728 "codeigniter4/framework" : " ^4.1" ,
29+ "phpunit/phpunit" : " ^9.6" ,
2830 "rector/rector" : " 1.1.1"
2931 },
3032 "minimum-stability" : " dev" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<psalm
3+ phpVersion =" 8.1"
34 errorLevel =" 7"
45 resolveFromConfigFile =" true"
56 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
67 xmlns =" https://getpsalm.org/schema/config"
78 xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
89 autoloader =" psalm_autoload.php"
910 cacheDirectory =" build/psalm/"
11+ findUnusedBaselineEntry =" false"
12+ findUnusedCode =" false"
1013>
1114 <projectFiles >
1215 <directory name =" src/" />
Original file line number Diff line number Diff line change 1111
1212foreach ($ helperDirs as $ dir ) {
1313 $ dir = __DIR__ . '/ ' . $ dir ;
14+ if (! is_dir ($ dir )) {
15+ continue ;
16+ }
17+
1418 chdir ($ dir );
1519
1620 foreach (glob ('*_helper.php ' ) as $ filename ) {
1923 require_once $ filePath ;
2024 }
2125}
26+
27+ chdir (__DIR__ );
You can’t perform that action at this time.
0 commit comments