Skip to content

[Bug]: Composer class map generation #1448

@vaclav-cerny

Description

@vaclav-cerny

Platform

macOS

Operating system version

macOS 15.5

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.20.3 (Build: 48)

PHP Version

8.4.8

Bug description

Hi,

I am trying to use Herd and I encountered one issue. I am using composer autoload via class map generation. It is generated to vendor/composer/autoload_classmap.php and this file is loaded afterwards via new \ReflectionClass(ClassLoader::class). The issue is, that this reflection loads Herd's PHAR isolated composer with its own class map.

Is there any solution for this?

Thanks.

Steps to reproduce

No response

Relevant log output

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