Public Access
docs: update for consolidated Joomla template repo
- Update WORKFLOW_STANDARDS.md to reference MokoStandards-Template-Joomla - Remove 6 obsolete sync definitions for deleted individual template repos - Update sync commands to use unified template Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ use MokoEnterprise\CliFramework;
|
||||
* - Required root files present (README.md, CHANGELOG.md, LICENSE, CONTRIBUTING.md,
|
||||
* SECURITY.md, .gitignore, .editorconfig, composer.json)
|
||||
* - Required directories present (src/, docs/, tests/)
|
||||
* - .mokostandards.yml governance attachment present
|
||||
* - .gitea/.mokostandards XML governance manifest present
|
||||
* - SPDX-License-Identifier header present in all PHP source files
|
||||
* - No tab characters in YAML/JSON config files
|
||||
* - No Windows path separators in PHP source
|
||||
@@ -74,10 +74,25 @@ class ValidateStructure extends CliFramework
|
||||
|
||||
// ── Governance attachment ─────────────────────────────────────────
|
||||
$this->section('MokoStandards governance');
|
||||
$mokoFile = file_exists("{$path}/.mokostandards.yml");
|
||||
$this->status($mokoFile, '.mokostandards.yml');
|
||||
$mokoFile = file_exists("{$path}/.gitea/.mokostandards")
|
||||
|| file_exists("{$path}/.github/.mokostandards")
|
||||
|| file_exists("{$path}/.mokostandards");
|
||||
$this->status($mokoFile, '.gitea/.mokostandards (XML manifest)');
|
||||
$mokoFile ? $passed++ : $failed++;
|
||||
|
||||
// Validate XML format if file exists
|
||||
if ($mokoFile) {
|
||||
$manifestPath = file_exists("{$path}/.gitea/.mokostandards")
|
||||
? "{$path}/.gitea/.mokostandards"
|
||||
: (file_exists("{$path}/.github/.mokostandards")
|
||||
? "{$path}/.github/.mokostandards"
|
||||
: "{$path}/.mokostandards");
|
||||
$manifestContent = file_get_contents($manifestPath);
|
||||
$isXml = str_contains($manifestContent, '<mokostandards');
|
||||
$this->status($isXml, '.mokostandards uses XML format');
|
||||
$isXml ? $passed++ : $failed++;
|
||||
}
|
||||
|
||||
// ── Required directories ──────────────────────────────────────────
|
||||
$this->section('Required directories');
|
||||
foreach (['src', 'docs', 'tests'] as $dir) {
|
||||
|
||||
Reference in New Issue
Block a user