File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 5151 __DIR__ . '/tests/ ' ,
5252 ]);
5353
54+ // Include Composer's autoload - required for global execution, remove if running locally
55+ $ parameters ->set (Option::AUTOLOAD_PATHS , [
56+ __DIR__ . '/vendor/autoload.php ' ,
57+ ]);
58+
5459 // Do you need to include constants, class aliases, or a custom autoloader?
5560 $ parameters ->set (Option::BOOTSTRAP_FILES , [
5661 realpath (getcwd ()) . '/vendor/codeigniter4/framework/system/Test/bootstrap.php ' ,
7782 __DIR__ . '/tests ' ,
7883 ],
7984
85+ // Ignore files that should not be namespaced
86+ NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
87+ __DIR__ . '/app/Helpers ' ,
88+ ],
89+
8090 // May load view files directly when detecting classes
8191 StringClassNameToClassConstantRector::class,
8292
You can’t perform that action at this time.
0 commit comments