CodeIgniter Forums
PSR-4 warning when installing CI4 via Composer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: PSR-4 warning when installing CI4 via Composer (/showthread.php?tid=91068)



PSR-4 warning when installing CI4 via Composer - renzmarionremias21 - 06-12-2024

Hello! May I know what's this warnings in yellow about PSR-4 when I tried to install CI4 via Composer?

https://i.sstatic.net/oTfR7CoA.png
Can someone help me how to fix this? Thanks!


RE: PSR-4 warning when installing CI4 via Composer - ozornick - 06-12-2024

URL for me blocked.
See https://github.com/codeigniter4/CodeIgniter4/issues/8951
It?


RE: PSR-4 warning when installing CI4 via Composer - renzmarionremias21 - 06-12-2024

(06-12-2024, 06:15 AM)ozornick Wrote: URL for me blocked.
See https://github.com/codeigniter4/CodeIgniter4/issues/8951
It?

Yes we have the same problem, can you let me know what's the reason?

(06-12-2024, 06:15 AM)ozornick Wrote: URL for me blocked.
See https://github.com/codeigniter4/CodeIgniter4/issues/8951
It?

I tried to downgrade the composer version to 2.7.6 and the PSR-4 notices/warnings disappear, maybe this is a composer bug?


RE: PSR-4 warning when installing CI4 via Composer - kenjis - 06-12-2024

The warnings appear in Composer 2.7.7.
The warnings are correct, so we cannot say it is a bug in Composer.

But there is nothing wrong. They just say skipped to add the classes to the class map.


RE: PSR-4 warning when installing CI4 via Composer - renzmarionremias21 - 06-12-2024

(06-12-2024, 05:04 PM)kenjis Wrote: The warnings appear in Composer 2.7.7.
The warnings are correct, so we cannot say it is a bug in Composer.

But there is nothing wrong. They just say skipped to add the classes to the class map.

Thanks @kenjis, so this warning is ignorable? Sorry I thought it's a bug in Composer, CI4 is running fine although it has this warnings.


RE: PSR-4 warning when installing CI4 via Composer - kenjis - 06-12-2024

> so this warning is ignorable?

Yes.
Nothing has been changed except Composer shows the messages.