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:
37
phpstan.neon
Normal file
37
phpstan.neon
Normal 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#'
|
||||
Reference in New Issue
Block a user