Welcome Guest, Not a member yet? Register   Sign In
PSR-4 warning when installing CI4 via Composer
#1

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!
Reply
#2

URL for me blocked.
See https://github.com/codeigniter4/CodeIgni...ssues/8951
It?
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#3

(This post was last modified: 06-12-2024, 07:31 AM by renzmarionremias21.)

(06-12-2024, 06:15 AM)ozornick Wrote: URL for me blocked.
See https://github.com/codeigniter4/CodeIgni...ssues/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/CodeIgni...ssues/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?
Reply
#4

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.
Reply
#5

(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.
Reply
#6

> so this warning is ignorable?

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




Theme © iAndrew 2016 - Forum software by © MyBB