Skip to content

chore(v11): verify L2/L3 dead code removal complete#210

Merged
satwareAG-ironMike merged 2 commits intosatware-mainfrom
feat/v11-dead-code-removal
Apr 9, 2026
Merged

chore(v11): verify L2/L3 dead code removal complete#210
satwareAG-ironMike merged 2 commits intosatware-mainfrom
feat/v11-dead-code-removal

Conversation

@satwareAG-ironMike
Copy link
Copy Markdown

Summary

Verifies that the two dead code removal items from the v11.0 modernization spec are already complete:

L2: Remove legacy gds32_ms fallback from config.w32 (#179)

  • config.w32 already uses fbclient_ms.lib only - no gds32_ms reference exists
  • Fixed stale comment: PHP 8.1+ -> PHP 8.2+

L3: Remove dead FB_API_VER < 30 code paths (#178)

  • Only 2 FB_API_VER < 30 references remain, both are #error compile-time safety guards
  • All other FB_API_VER guards are >= 40 or >= 50 (feature gates for FB 4.0/5.0)
  • No dead code branches to remove

Also included

  • Updated spec-v11-modernization.md: L2 and L3 marked done
  • Updated NEXT_STEPS.md: sync v11 status and completed v10.x specs

Closes #178, closes #179

- config.w32: 'PHP 8.1+' -> 'PHP 8.2+' (stale comment)
- spec-v11-modernization.md: mark L2 and L3 as done
  - L2: gds32_ms was already removed, only fbclient_ms.lib used
  - L3: no dead FB_API_VER < 30 branches exist, only #error guards
- NEXT_STEPS.md: sync completed specs and v11 status

Closes #178, closes #179
Comprehensive plan for M2 (typed arginfo), M12 (call_user_function
elimination), and M3 (resource-to-object migration).

Key findings from investigation:
- 80 of 82 arginfo declarations need typed return macros
- 6 call_user_function sites to replace with direct C calls
- 7 resource types to migrate across ~40+ consumer sites
- 21 test files need is_resource -> instanceof updates
- 277 total .phpt tests to validate

Phased approach: M2 (non-breaking) -> M12 (internal) -> M3 (breaking)
@satwareAG-ironMike satwareAG-ironMike force-pushed the feat/v11-dead-code-removal branch from b158bc8 to feb25dd Compare April 9, 2026 12:29
@satwareAG-ironMike satwareAG-ironMike merged commit 32c0c9d into satware-main Apr 9, 2026
48 checks passed
@satwareAG-ironMike satwareAG-ironMike deleted the feat/v11-dead-code-removal branch April 9, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[L2] Remove legacy gds32_ms fallback from config.w32 [L3] Remove dead FB_API_VER < 30 code paths

2 participants