Fix code quality violations and add VS Code extension features

Fix VS Code extension storage paths for new directory structure
Fix jqhtml compiled files missing from bundle
Fix bundle babel transformation and add rsxrealpath() function

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-22 00:43:05 +00:00
parent 53d359bc91
commit 37a6183eb4
80 changed files with 1066 additions and 255 deletions

View File

@@ -2369,9 +2369,9 @@ class Manifest
// Get absolute path - rsx/ files are in project root, not system/
if (str_starts_with($file, 'rsx/')) {
$absolute_path = realpath(base_path('../' . $file));
$absolute_path = rsxrealpath(base_path('../' . $file));
} else {
$absolute_path = realpath(base_path($file));
$absolute_path = rsxrealpath(base_path($file));
}
// Check if this file changed
@@ -2904,8 +2904,8 @@ class Manifest
// Extract ONLY public static methods - the only methods we care about in RSX
$public_static_methods = [];
// Normalize file_path for comparison (resolves symlinks)
$normalized_file_path = realpath($file_path);
// Normalize file_path for comparison (without resolving symlinks)
$normalized_file_path = rsxrealpath($file_path);
foreach ($reflection->getMethods(ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_STATIC) as $method) {
// Include methods from:
@@ -2915,8 +2915,8 @@ class Manifest
$is_from_trait = in_array($method_file, $trait_files);
// Skip inherited methods from parent classes (but include trait methods)
// Use realpath for comparison to handle symlinks correctly
if (realpath($method_file) !== $normalized_file_path && !$is_from_trait) {
// Use rsxrealpath for comparison to avoid symlink resolution
if (rsxrealpath($method_file) !== $normalized_file_path && !$is_from_trait) {
continue;
}
@@ -3559,7 +3559,7 @@ class Manifest
{
// Generate to project root (parent of system/)
$project_root = dirname(base_path());
$stub_file = $project_root . '/_rsx_helper.php';
$stub_file = $project_root . '/._rsx_helper.php';
$output = "<?php\n";
$output .= "/* @noinspection ALL */\n";