Skip to content

Commit

Permalink
Merge pull request #5824 from kenjis/revert-3423
Browse files Browse the repository at this point in the history
config: remove App\ and Config\ in autoload.psr-4 in app starter composer.json
  • Loading branch information
kenjis authored Mar 24, 2022
2 parents 1eeb5ec + 135222d commit 503e6be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions admin/starter/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
"ext-fileinfo": "Improves mime type detection for files"
},
"autoload": {
"psr-4": {
"App\\": "app",
"Config\\": "app/Config"
},
"exclude-from-classmap": [
"**/Database/Migrations/**"
]
Expand Down
4 changes: 4 additions & 0 deletions system/CLI/Commands.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ public function getCommands()
/**
* Discovers all commands in the framework and within user code,
* and collects instances of them to work with.
*
* @TODO this approach (find qualified classname from path) causes error,
* when using Composer autoloader.
* See https://github.com/codeigniter4/CodeIgniter4/issues/5818
*/
public function discoverCommands()
{
Expand Down

0 comments on commit 503e6be

Please sign in to comment.