Add Joomla-aware development workflows and scripts

- Created extension packaging script
- Added PHPStan configuration for static analysis
- Added PHP_CodeSniffer configuration with Joomla standards
- Created Codeception testing framework setup
- Added PHP quality check workflow
- Added Joomla testing workflow with multiple versions
- Added staging deployment workflow
- Created comprehensive documentation
- Set up test directory structure with sample tests

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-04 03:03:20 +00:00
parent b4967d5262
commit 9d7651d349
17 changed files with 1448 additions and 0 deletions

37
phpstan.neon Normal file
View File

@@ -0,0 +1,37 @@
parameters:
level: 5
paths:
- src
# Exclude paths
excludePaths:
- src/vendor/*
- src/node_modules/*
- src/cache/*
- src/tmp/*
# Scan files
scanFiles:
- src/templates/index.php
- src/templates/component.php
- src/templates/error.php
- src/templates/offline.php
# Report unmatched ignored errors
reportUnmatchedIgnoredErrors: false
# Check function name case
checkFunctionNameCase: true
# Check internal classes
checkInternalClassCaseSensitivity: true
# Treat PHP version
phpVersion: 80000
# Ignore errors - adjust as needed
ignoreErrors:
# Allow dynamic properties which are common in Joomla
- '#Access to an undefined property#'
# Allow some reflection usage
- '#Call to an undefined static method#'