Skip to content

Commit 135222d

Browse files
committed
docs: add @todo
1 parent 57e0594 commit 135222d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system/CLI/Commands.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public function getCommands()
7676
/**
7777
* Discovers all commands in the framework and within user code,
7878
* 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
7983
*/
8084
public function discoverCommands()
8185
{

0 commit comments

Comments
 (0)