We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1eeb5ec + 135222d commit 503e6beCopy full SHA for 503e6be
admin/starter/composer.json
@@ -17,10 +17,6 @@
17
"ext-fileinfo": "Improves mime type detection for files"
18
},
19
"autoload": {
20
- "psr-4": {
21
- "App\\": "app",
22
- "Config\\": "app/Config"
23
- },
24
"exclude-from-classmap": [
25
"**/Database/Migrations/**"
26
]
system/CLI/Commands.php
@@ -76,6 +76,10 @@ public function getCommands()
76
/**
77
* Discovers all commands in the framework and within user code,
78
* and collects instances of them to work with.
79
+ *
80
+ * @TODO this approach (find qualified classname from path) causes error,
81
+ * when using Composer autoloader.
82
+ * See https://github.com/codeigniter4/CodeIgniter4/issues/5818
83
*/
84
public function discoverCommands()
85
{
0 commit comments