Skip to content

Scoping Interfaces implemented by Enums #1119

Open
@danielmaier42

Description

@danielmaier42

Bug report

Question Answer
PHP-Scoper version 0.18.17
PHP version 8.3.16
Platform with version macOS Sequoia 15.3.1

We have some Enums which do implement our own Interfaces. When bundling wich php scoper those Enums are not handled correctly.

Original File:

Image

File after Scoped with "dcAGBundleMigration":

Image

I would expect it to look like this (have a look at the changes in line 8):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions