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 51
51
__DIR__ . '/tests/ ' ,
52
52
]);
53
53
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
+
54
59
// Do you need to include constants, class aliases, or a custom autoloader?
55
60
$ parameters ->set (Option::BOOTSTRAP_FILES , [
56
61
realpath (getcwd ()) . '/vendor/codeigniter4/framework/system/Test/bootstrap.php ' ,
77
82
__DIR__ . '/tests ' ,
78
83
],
79
84
85
+ // Ignore files that should not be namespaced
86
+ NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
87
+ __DIR__ . '/app/Helpers ' ,
88
+ ],
89
+
80
90
// May load view files directly when detecting classes
81
91
StringClassNameToClassConstantRector::class,
82
92
You can’t perform that action at this time.
0 commit comments