dbalabka / dbalabka/php-enumeration

DebugClassLoader is hijacking loadClass so __constructStatic is never called

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
53
Forks
4
PR merge metrics
No merged PRs in 30d

Description

index.php (default for symfony 4.4)
inconjucation with https://github.com/dbalabka/php-enumeration/pull/20
```php

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with index.php and config/bootstrap.php, then inspect how Symfony Debug::enable() interacts with StaticConstructorLoader and the Composer loader. Reproduce the Symfony 4.4 setup described in the issue and verify whether __constructStatic is called; done means the loader and DebugClassLoader no longer prevent that call.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.