Framework pull: auto-revert use statement changes before update

Class override system: .upstream file handling and restore logic
Php_Fixer: Redirect use statements to correct manifest FQCN
Fix: Only match PHP files in __find_class_fqcn_in_manifest
Complete Php_Fixer use statement redirection implementation (checkpoint 2)
WIP: Php_Fixer use statement redirection for class overrides (checkpoint)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-10 07:04:05 +00:00
parent 0a479ed5a2
commit f02a04f37a
6 changed files with 307 additions and 51 deletions

View File

@@ -38,7 +38,8 @@ class ExtensionRegistry
*/
protected const CORE_EXTENSIONS = [
'php' => ['priority' => 100],
'js' => ['priority' => 200],
'php.upstream' => ['priority' => 101], // Framework files renamed during class override
'js' => ['priority' => 200],
'jsx' => ['priority' => 200],
'ts' => ['priority' => 200],
'tsx' => ['priority' => 200],