Template
add699aa60
Generic: Project CI / Lint & Validate (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Has been skipped
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 4s
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 13s
Rebased onto current main (preserves MokoSuite + CI work). Delta: - Retire MokoStandards/MokoStandards-Template-*/MokoStandards-API completely - Branding MokoCLI (CamelCase) in display text; lowercase mokocli in URLs/paths - Complete Gitea→MokoGitea prose/path cleanup where main missed it - Metadata references → MokoGitea Metadata field (API); no committed metadata file - Add .mokogitea/GEMINI.md + .mokogitea/MOKOAI.md; gitignore /GEMINI.md /MOKOAI.md .mokoai/ Authored-by: Moko Consulting
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# PHPStan configuration for Joomla extension repositories.
|
|
# Extends the base MokoCLI config and adds Joomla framework class stubs
|
|
# so PHPStan can resolve Factory, CMSApplication, User, Table, etc.
|
|
# without requiring a full Joomla installation.
|
|
|
|
parameters:
|
|
level: 5
|
|
|
|
paths:
|
|
- src
|
|
|
|
excludePaths:
|
|
- vendor
|
|
- node_modules
|
|
|
|
# Joomla framework stubs — resolved via the enterprise package from vendor/
|
|
stubFiles:
|
|
- vendor/mokoconsulting-tech/enterprise/templates/stubs/joomla.php
|
|
|
|
# Suppress errors that are structural in Joomla's service-container architecture
|
|
ignoreErrors:
|
|
# Joomla's service-based dependency injection returns mixed from getApplication()
|
|
- '#Cannot call method .+ on Joomla\\CMS\\Application\\CMSApplication\|null#'
|
|
# Factory::getX() patterns are safe at runtime even when nullable in stubs
|
|
- '#Call to static method [a-zA-Z]+\(\) on an interface#'
|
|
|
|
reportUnmatchedIgnoredErrors: false
|
|
checkMissingIterableValueType: false
|
|
checkGenericClassInNonGenericObjectType: false
|