Duplicate declarations

Requested Enhancement:

Implement a pre-compilation validation step that:

  1. Scans generated and custom source files for duplicate declarations.

  2. Detects when the PHPMaker2026 class (or any generated core class) is declared more than once.

  3. Identifies the conflicting files and line numbers where possible.

  4. Prevents compilation from starting when a duplicate declaration is found.

  5. Displays a clear, actionable error message to the user.