fix: package_build.php Joomla package builds + PHPStan level 2 #95

Merged
jmiller merged 2 commits from dev into main 2026-05-26 00:39:25 +00:00

2 Commits

Author SHA1 Message Date
Jonathan Miller 989e84c44c fix: package_build.php — correct Joomla package extension builds
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Release configuration (push) Successful in 4s
Generic: Repo Health / Scripts governance (push) Successful in 4s
Generic: Repo Health / Repository health (push) Successful in 12s
Platform: moko-platform CI / Gate 1: Code Quality (push) Successful in 48s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
Universal: PR Check / Validate PR (pull_request) Successful in 6s
Generic: Repo Health / Scripts governance (pull_request) Successful in 7s
Generic: Repo Health / Release configuration (pull_request) Successful in 7s
Universal: PR Check / Build RC Package (pull_request) Successful in 2s
Generic: Repo Health / Repository health (pull_request) Successful in 15s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Successful in 1m7s
Platform: moko-platform CI / Gate 5: Template Integrity (push) Failing after 4s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Failing after 38s
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Failing after 39s
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Failing after 39s
Platform: moko-platform CI / Gate 4: Governance (push) Successful in 37s
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Failing after 40s
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Failing after 4s
Platform: moko-platform CI / Gate 4: Governance (pull_request) Successful in 37s
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Failing after 38s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Failing after 39s
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Failing after 39s
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Failing after 41s
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
Two bugs fixed:
1. Double prefix: pkg_pkg_mokogallery → pkg_mokogallery (strip prefix
   from element name when it already matches the type prefix)
2. Package structure: sub-extension ZIPs now placed in packages/ subdir
   (was putting them in root), language/ directory now included

Correct ZIP structure:
  pkg_mokogallery-XX.XX.XX.zip
    pkg_mokogallery.xml
    script.php
    language/
    packages/
      com_mokogallery.zip
      mod_mokogallery.zip
      plg_*.zip

Closes #92

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-25 19:35:08 -05:00
jmiller 2cfc0a61e9 Merge pull request 'chore: cascade main → dev (11bd5e8) [skip ci]' (#94) from main into dev
chore: cascade main → dev [skip ci]
2026-05-26 00:32:42 +00:00