Skip to content

Bug: Cannot declare class Config\ShieldOAuthConfig, because the name is already in use #120

@nicojmb

Description

@nicojmb

PHP Version

8.3.8

CodeIgniter4 Version

4.5.3

Shield Version

v1.1.0

Shield OAuth Version?

dev-develop

Which operating systems have you tested for this bug?

Linux

Which server did you use?

apache

Database

MariaDB 10.5.24

Did you add customize OAuth?

No

What happened?

Cannot declare class Config\ShieldOAuthConfig, because the name is already in use

Steps to Reproduce

Upgrade to latest CI4 4.5.3 and add this to composer.json (this is suggested by upgrade guide)

"psr-4": {
            "App\\": "app/",
            "Config\\": "app/Config"
        },

Expected Output

not show the redeclare error.

Anything else?

if remove this psr-4, all works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions