Skip to content

CI4: Possible duplicate import of PSR LoggerInterface #3633

Closed

Description

@objecttothis

PHPStorm is complaining about two different instances of PSR\Log\LoggerInterface classes.

One is in \vendor\psr\log\PSR\log and the other is in \vendor\codeigniter4\framework\system\ThirdParty\PSR\log

image

image

It seems like since PSR\log is now included in CI4, we should remove the duplicate. This happens during the npm install and I'm seeing the psr/log reference in the composer.lock file as a CodeIgniter dependency. I'm not sure the best way to remedy this because I believe the composer.lock file is automatically generated.

Activity

  1. added
    dependencies
    on Jan 27, 2023
  2. added this to the 3.4.0 milestone on Jan 27, 2023
  3. deleted a comment from stale on Apr 2, 2023
  4. stale commented on Aug 12, 2023

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  5. added
    CodeIgniter4
    on Dec 12, 2023
  6. added a commit that references this issue on Oct 22, 2024
    1a9693c
  7. objecttothis commented on Oct 22, 2024

    @objecttothis
    MemberAuthor

    #4091 fixes this issue.

  8. added a commit that references this issue on Oct 28, 2024
    18b400e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeIgniter4dependenciesneeds ownerwontfix

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions