diff --git a/automation/bulk_joomla_template.php b/automation/bulk_joomla_template.php index 391c8d8..60e2a7c 100644 --- a/automation/bulk_joomla_template.php +++ b/automation/bulk_joomla_template.php @@ -15,11 +15,11 @@ * BRIEF: Bulk scaffold and sync Joomla template repositories * * USAGE - * php api/automation/bulk_joomla_template.php --scaffold --name=MokoTheme - * php api/automation/bulk_joomla_template.php --scaffold --name=MokoTheme --client=administrator - * php api/automation/bulk_joomla_template.php --sync --repos=MokoTheme,MokoDarkTheme - * php api/automation/bulk_joomla_template.php --sync --all - * php api/automation/bulk_joomla_template.php --list + * php automation/bulk_joomla_template.php --scaffold --name=MokoTheme + * php automation/bulk_joomla_template.php --scaffold --name=MokoTheme --client=administrator + * php automation/bulk_joomla_template.php --sync --repos=MokoTheme,MokoDarkTheme + * php automation/bulk_joomla_template.php --sync --all + * php automation/bulk_joomla_template.php --list */ declare(strict_types=1); @@ -723,7 +723,7 @@ class BulkJoomlaTemplate extends CLIApp * and pushes the newer one to the stale platform. * * Designed to be called from a CI workflow via: - * php api/automation/bulk_joomla_template.php --sync-updates --repos=MokoCassiopeia + * php automation/bulk_joomla_template.php --sync-updates --repos=MokoCassiopeia */ private function syncUpdatesBetweenPlatforms(string $org): int { diff --git a/automation/bulk_sync.php b/automation/bulk_sync.php index 90aeba0..ff525fc 100755 --- a/automation/bulk_sync.php +++ b/automation/bulk_sync.php @@ -420,7 +420,7 @@ class BulkSync extends CLIApp $this->log("The bulk repository sync is failing silently because the core", 'ERROR'); $this->log("synchronization logic has not been implemented yet.", 'ERROR'); $this->log("", 'ERROR'); - $this->log("Location: api/lib/Enterprise/RepositorySynchronizer.php", 'ERROR'); + $this->log("Location: lib/Enterprise/RepositorySynchronizer.php", 'ERROR'); $this->log("Method: processRepository()", 'ERROR'); $this->log("", 'ERROR'); $this->log("Required Implementation:", 'ERROR'); @@ -509,7 +509,7 @@ class BulkSync extends CLIApp ]); $script = basename(__FILE__); $this->log("💾 Checkpoint saved. To resume once the issue is resolved, run:", 'INFO'); - $this->log(" php api/automation/{$script} --resume [same flags as before]", 'INFO'); + $this->log(" php automation/{$script} --resume [same flags as before]", 'INFO'); } catch (\Exception $e) { $this->log("⚠️ Failed to save interrupt checkpoint: " . $e->getMessage(), 'WARN'); } @@ -1355,7 +1355,7 @@ class BulkSync extends CLIApp 1. Check the local audit log or re-run with `--repos=` to see the specific error. 2. Fix the underlying issue (API token, rate limit, branch protection, etc.). - 3. Re-run: `php api/automation/bulk_sync.php --org={$org} --repos= --force --yes` + 3. Re-run: `php automation/bulk_sync.php --org={$org} --repos= --force --yes` 4. Close this issue once all repos are synced successfully. --- diff --git a/automation/migrate_to_gitea.php b/automation/migrate_to_gitea.php index 6c9f24d..f0ab6b0 100644 --- a/automation/migrate_to_gitea.php +++ b/automation/migrate_to_gitea.php @@ -15,10 +15,10 @@ * BRIEF: Migrate repositories from GitHub to self-hosted Gitea instance * * USAGE - * php api/automation/migrate_to_gitea.php --dry-run - * php api/automation/migrate_to_gitea.php --repos MokoCRM MokoDoliMods - * php api/automation/migrate_to_gitea.php --exclude MokoStandards --skip-archived - * php api/automation/migrate_to_gitea.php --resume + * php automation/migrate_to_gitea.php --dry-run + * php automation/migrate_to_gitea.php --repos MokoCRM MokoDoliMods + * php automation/migrate_to_gitea.php --exclude MokoStandards --skip-archived + * php automation/migrate_to_gitea.php --resume */ declare(strict_types=1); diff --git a/automation/push_files.php b/automation/push_files.php index 8555ec3..2c671b9 100644 --- a/automation/push_files.php +++ b/automation/push_files.php @@ -590,7 +590,7 @@ class PushFiles extends CLIApp 1. Check the output above for the specific error per repo. 2. Fix the underlying issue (API token, branch permissions, file path, etc.). - 3. Re-run: `php api/automation/push_files.php --org={$org} --repos= --files= --yes` + 3. Re-run: `php automation/push_files.php --org={$org} --repos= --files= --yes` 4. Close this issue once resolved. --- diff --git a/cli/archive_repo.php b/cli/archive_repo.php index e210332..698955a 100644 --- a/cli/archive_repo.php +++ b/cli/archive_repo.php @@ -15,9 +15,9 @@ * BRIEF: Gracefully retire a governed repository — archive, close issues/PRs, remove sync def * * USAGE - * php api/cli/archive_repo.php --repo MokoOldModule - * php api/cli/archive_repo.php --repo MokoOldModule --dry-run - * php api/cli/archive_repo.php --repo MokoOldModule --skip-close # Archive only, keep issues open + * php cli/archive_repo.php --repo MokoOldModule + * php cli/archive_repo.php --repo MokoOldModule --dry-run + * php cli/archive_repo.php --repo MokoOldModule --skip-close # Archive only, keep issues open */ declare(strict_types=1); diff --git a/cli/create_project.php b/cli/create_project.php index 85d6e5e..ae4bb9d 100644 --- a/cli/create_project.php +++ b/cli/create_project.php @@ -15,10 +15,10 @@ * BRIEF: Create baseline GitHub Projects for repositories with standard fields and views * * USAGE - * php api/cli/create_project.php --repo MokoCRM # Auto-detect type, create project - * php api/cli/create_project.php --repo MokoCRM --type dolibarr # Force type - * php api/cli/create_project.php --org mokoconsulting-tech --all # All repos without projects - * php api/cli/create_project.php --repo MokoCRM --dry-run # Preview without changes + * php cli/create_project.php --repo MokoCRM # Auto-detect type, create project + * php cli/create_project.php --repo MokoCRM --type dolibarr # Force type + * php cli/create_project.php --org mokoconsulting-tech --all # All repos without projects + * php cli/create_project.php --repo MokoCRM --dry-run # Preview without changes */ declare(strict_types=1); @@ -385,7 +385,7 @@ function createProject( updateProjectV2(input: { projectId: $projectId, shortDescription: $shortDescription, - readme: "Managed by MokoStandards. Run `php api/cli/create_project.php` to regenerate." + readme: "Managed by MokoStandards. Run `php cli/create_project.php` to regenerate." }) { projectV2 { id } } diff --git a/cli/create_repo.php b/cli/create_repo.php index 5e59bda..2812d80 100644 --- a/cli/create_repo.php +++ b/cli/create_repo.php @@ -15,9 +15,9 @@ * BRIEF: Scaffold a new governed repository with full MokoStandards baseline * * USAGE - * php api/cli/create_repo.php --name MokoNewModule --type dolibarr --description "My new module" - * php api/cli/create_repo.php --name MokoNewModule --type joomla --private - * php api/cli/create_repo.php --name MokoNewModule --type generic --dry-run + * php cli/create_repo.php --name MokoNewModule --type dolibarr --description "My new module" + * php cli/create_repo.php --name MokoNewModule --type joomla --private + * php cli/create_repo.php --name MokoNewModule --type generic --dry-run */ declare(strict_types=1); @@ -229,7 +229,7 @@ if (!$dryRun) { if (file_exists($syncScript)) { passthru("php " . escapeshellarg($syncScript) . " --repos " . escapeshellarg($name) . " --force --yes"); } else { - echo " Run manually: php api/automation/bulk_sync.php --repos {$name} --force --yes\n"; + echo " Run manually: php automation/bulk_sync.php --repos {$name} --force --yes\n"; } } else { echo " (dry-run) would run initial sync\n"; @@ -242,7 +242,7 @@ if (!$dryRun) { if (file_exists($projectScript)) { passthru("php " . escapeshellarg($projectScript) . " --repo " . escapeshellarg($name) . " --type " . escapeshellarg($type)); } else { - echo " Run manually: php api/cli/create_project.php --repo {$name} --type {$type}\n"; + echo " Run manually: php cli/create_project.php --repo {$name} --type {$type}\n"; } } else { echo " (dry-run) would create Project\n"; diff --git a/cli/joomla_release.php b/cli/joomla_release.php index 3ceeb0a..487e29b 100644 --- a/cli/joomla_release.php +++ b/cli/joomla_release.php @@ -15,10 +15,10 @@ * BRIEF: Joomla release pipeline — build ZIP+tar.gz, upload to GitHub Release, update updates.xml * * USAGE - * php api/cli/joomla_release.php --repo MokoCassiopeia --stability stable - * php api/cli/joomla_release.php --repo MokoCassiopeia --stability development - * php api/cli/joomla_release.php --repo MokoCassiopeia --stability rc --dry-run - * php api/cli/joomla_release.php --path /local/repo --stability stable + * php cli/joomla_release.php --repo MokoCassiopeia --stability stable + * php cli/joomla_release.php --repo MokoCassiopeia --stability development + * php cli/joomla_release.php --repo MokoCassiopeia --stability rc --dry-run + * php cli/joomla_release.php --path /local/repo --stability stable */ declare(strict_types=1); diff --git a/cli/release.php b/cli/release.php index 05b29e1..0a0e7c2 100644 --- a/cli/release.php +++ b/cli/release.php @@ -13,10 +13,10 @@ * BRIEF: Automate the MokoStandards version branch release flow * * USAGE - * php api/cli/release.php # Release current version - * php api/cli/release.php --bump minor # Bump minor, then release - * php api/cli/release.php --bump major # Bump major, then release - * php api/cli/release.php --dry-run # Preview without changes + * php cli/release.php # Release current version + * php cli/release.php --bump minor # Bump minor, then release + * php cli/release.php --bump major # Bump major, then release + * php cli/release.php --dry-run # Preview without changes */ declare(strict_types=1); @@ -30,7 +30,7 @@ foreach ($argv as $i => $arg) { } $repoRoot = dirname(__DIR__, 2); -$syncFile = "{$repoRoot}/api/lib/Enterprise/RepositorySynchronizer.php"; +$syncFile = "{$repoRoot}/lib/Enterprise/RepositorySynchronizer.php"; // Check both workflow directories for the bulk-repo-sync workflow $bulkSyncFile = file_exists("{$repoRoot}/.gitea/workflows/bulk-repo-sync.yml") ? "{$repoRoot}/.gitea/workflows/bulk-repo-sync.yml" diff --git a/cli/sync_rulesets.php b/cli/sync_rulesets.php index 47fdef6..6d1ab67 100644 --- a/cli/sync_rulesets.php +++ b/cli/sync_rulesets.php @@ -15,10 +15,10 @@ * BRIEF: Apply branch protection rules to all repos via platform adapter * * USAGE - * php api/cli/sync_rulesets.php # Apply to all repos - * php api/cli/sync_rulesets.php --repo MokoCRM # Single repo - * php api/cli/sync_rulesets.php --dry-run # Preview only - * php api/cli/sync_rulesets.php --delete # Remove then re-apply + * php cli/sync_rulesets.php # Apply to all repos + * php cli/sync_rulesets.php --repo MokoCRM # Single repo + * php cli/sync_rulesets.php --dry-run # Preview only + * php cli/sync_rulesets.php --delete # Remove then re-apply * * NOTE: On GitHub, this creates rulesets via the rulesets API. * On Gitea, this creates branch_protections via the branch protection API. diff --git a/deploy/deploy-joomla.php b/deploy/deploy-joomla.php index 88aed42..ef209b2 100644 --- a/deploy/deploy-joomla.php +++ b/deploy/deploy-joomla.php @@ -20,9 +20,9 @@ * changes — only XML manifest changes require a Joomla reinstall. * * USAGE - * php api/deploy/deploy-joomla.php --path . --config /tmp/sftp-config.json - * php api/deploy/deploy-joomla.php --path . --config /tmp/sftp-config.json --dry-run - * php api/deploy/deploy-joomla.php --path . --env dev + * php deploy/deploy-joomla.php --path . --config /tmp/sftp-config.json + * php deploy/deploy-joomla.php --path . --config /tmp/sftp-config.json --dry-run + * php deploy/deploy-joomla.php --path . --env dev */ declare(strict_types=1); diff --git a/deploy/deploy-sftp.php b/deploy/deploy-sftp.php index c4b3f3f..2afff3e 100644 --- a/deploy/deploy-sftp.php +++ b/deploy/deploy-sftp.php @@ -96,25 +96,25 @@ CONFIG FORMAT EXAMPLES # Dry-run preview of dev deployment - php api/deploy/deploy-sftp.php --env dev --dry-run --verbose + php deploy/deploy-sftp.php --env dev --dry-run --verbose # Deploy to dev server - php api/deploy/deploy-sftp.php --path /repos/mymodule --env dev + php deploy/deploy-sftp.php --path /repos/mymodule --env dev # Deploy to release/production server - php api/deploy/deploy-sftp.php --path /repos/mymodule --env rs + php deploy/deploy-sftp.php --path /repos/mymodule --env rs # Use a different source directory - php api/deploy/deploy-sftp.php --env dev --src-dir htdocs + php deploy/deploy-sftp.php --env dev --src-dir htdocs # Explicit config with encrypted key - php api/deploy/deploy-sftp.php \ + php deploy/deploy-sftp.php \ --path /repos/mymodule \ --env rs \ --key-passphrase "my passphrase" # Quiet mode (errors only) - php api/deploy/deploy-sftp.php --env dev --quiet + php deploy/deploy-sftp.php --env dev --quiet EXIT CODES 0 All files uploaded successfully diff --git a/lib/CliBase.php b/lib/CliBase.php index f3f4120..010cde0 100644 --- a/lib/CliBase.php +++ b/lib/CliBase.php @@ -11,7 +11,7 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /lib/CliBase.php * VERSION: 04.06.00 - * BRIEF: Standalone base CLI class for api/ scripts that do not use CliFramework + * BRIEF: Standalone base CLI class for scripts that do not use CliFramework */ declare(strict_types=1); diff --git a/lib/Common.php b/lib/Common.php index d53adb7..52a803a 100644 --- a/lib/Common.php +++ b/lib/Common.php @@ -11,7 +11,7 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /lib/Common.php * VERSION: 04.06.00 - * BRIEF: Common utility functions for api/ scripts + * BRIEF: Common utility functions for scripts * NOTE: Version format used throughout is zero-padded semver: XX.YY.ZZ (e.g. 04.00.04). * All version regex patterns enforce exactly two digits per component by design. */ diff --git a/lib/Enterprise/EnterpriseReadinessValidator.php b/lib/Enterprise/EnterpriseReadinessValidator.php index 9dabf4b..3b360ae 100644 --- a/lib/Enterprise/EnterpriseReadinessValidator.php +++ b/lib/Enterprise/EnterpriseReadinessValidator.php @@ -92,7 +92,7 @@ class EnterpriseReadinessValidator ]; foreach ($required as $library) { - $phpFile = "{$path}/api/lib/Enterprise/{$library}.php"; + $phpFile = "{$path}/lib/Enterprise/{$library}.php"; $this->addResult( "Enterprise library: {$library}", file_exists($phpFile), diff --git a/lib/Enterprise/RepositorySynchronizer.php b/lib/Enterprise/RepositorySynchronizer.php index 5633711..606c136 100644 --- a/lib/Enterprise/RepositorySynchronizer.php +++ b/lib/Enterprise/RepositorySynchronizer.php @@ -166,7 +166,7 @@ class RepositorySynchronizer { $this->logger->logInfo("Starting synchronization for {$org}/{$repo}"); - // Resolve repo root (two levels up from this file: Enterprise/ → lib/ → api/ → root) + // Resolve repo root (three levels up from this file: Enterprise/ → lib/ → root) // API repo root (definitions, sync code) $repoRoot = dirname(dirname(__DIR__)); // MokoStandards repo root (templates, configs) diff --git a/maintenance/pin_action_shas.php b/maintenance/pin_action_shas.php index bc3ef5d..e525d93 100644 --- a/maintenance/pin_action_shas.php +++ b/maintenance/pin_action_shas.php @@ -34,7 +34,7 @@ use MokoEnterprise\PlatformAdapterFactory; * pinned commit SHA. Already-pinned references (40-char hex SHA) are left untouched. * * Usage: - * php api/maintenance/pin_action_shas.php [--dry-run] [--verbose] [--help] + * php maintenance/pin_action_shas.php [--dry-run] [--verbose] [--help] * * Environment: * GH_TOKEN Personal access token for GitHub API calls. @@ -90,7 +90,7 @@ class ActionShaPinner private function showHelp(): void { echo <<<'HELP' -Usage: php api/maintenance/pin_action_shas.php [OPTIONS] +Usage: php maintenance/pin_action_shas.php [OPTIONS] Pins GitHub Actions to immutable commit SHAs in all .github/workflows/*.yml files. Already-pinned references (40-character commit SHA) are skipped. @@ -106,10 +106,10 @@ Environment: Examples: # Preview all changes - GH_TOKEN=ghp_xxx php api/maintenance/pin_action_shas.php --dry-run --verbose + GH_TOKEN=ghp_xxx php maintenance/pin_action_shas.php --dry-run --verbose # Apply changes - GH_TOKEN=ghp_xxx php api/maintenance/pin_action_shas.php + GH_TOKEN=ghp_xxx php maintenance/pin_action_shas.php HELP; } diff --git a/maintenance/repo_inventory.php b/maintenance/repo_inventory.php index 86ffe48..16581d9 100644 --- a/maintenance/repo_inventory.php +++ b/maintenance/repo_inventory.php @@ -15,9 +15,9 @@ * BRIEF: Generate a live inventory dashboard of all governed repos as a GitHub issue * * USAGE - * php api/maintenance/repo_inventory.php # Generate and post dashboard - * php api/maintenance/repo_inventory.php --dry-run # Preview only - * php api/maintenance/repo_inventory.php --json # JSON output to stdout + * php maintenance/repo_inventory.php # Generate and post dashboard + * php maintenance/repo_inventory.php --dry-run # Preview only + * php maintenance/repo_inventory.php --json # JSON output to stdout */ declare(strict_types=1); diff --git a/maintenance/rotate_secrets.php b/maintenance/rotate_secrets.php index 33af096..e0438a8 100644 --- a/maintenance/rotate_secrets.php +++ b/maintenance/rotate_secrets.php @@ -15,10 +15,10 @@ * BRIEF: Audit FTP secrets and variables across all governed repos — report missing or stale * * USAGE - * php api/maintenance/rotate_secrets.php --all # Audit all repos - * php api/maintenance/rotate_secrets.php --repo MokoCRM # Single repo - * php api/maintenance/rotate_secrets.php --all --json # JSON output - * php api/maintenance/rotate_secrets.php --all --create-issue # Post results as issue + * php maintenance/rotate_secrets.php --all # Audit all repos + * php maintenance/rotate_secrets.php --repo MokoCRM # Single repo + * php maintenance/rotate_secrets.php --all --json # JSON output + * php maintenance/rotate_secrets.php --all --create-issue # Post results as issue */ declare(strict_types=1); diff --git a/maintenance/update_sha_hashes.php b/maintenance/update_sha_hashes.php index e14c34b..9b45a73 100755 --- a/maintenance/update_sha_hashes.php +++ b/maintenance/update_sha_hashes.php @@ -25,7 +25,7 @@ declare(strict_types=1); */ class ScriptRegistryUpdater { - private const REGISTRY_PATH = 'api/.script-registry.json'; + private const REGISTRY_PATH = '.script-registry.json'; private bool $dryRun = false; private bool $verbose = false; diff --git a/maintenance/update_version_from_readme.php b/maintenance/update_version_from_readme.php index 68d0bc9..f5118d4 100644 --- a/maintenance/update_version_from_readme.php +++ b/maintenance/update_version_from_readme.php @@ -435,15 +435,15 @@ class UpdateVersionFromReadme extends CliFramework "", "1. Run the sync script locally:", " ```bash", - " php api/maintenance/update_version_from_readme.php --path . --dry-run", - " php api/maintenance/update_version_from_readme.php --path .", + " php maintenance/update_version_from_readme.php --path . --dry-run", + " php maintenance/update_version_from_readme.php --path .", " ```", "2. Inspect any files still flagged — they may use a non-standard VERSION format.", "3. Update them manually to match `VERSION: {$version}`.", "4. Commit and push — this issue will be closed automatically on the next successful sync.", "", "---", - "*Automatically created by [update_version_from_readme.php](api/maintenance/update_version_from_readme.php)*", + "*Automatically created by [update_version_from_readme.php](maintenance/update_version_from_readme.php)*", ]); try { diff --git a/validate/auto_detect_platform.php b/validate/auto_detect_platform.php index 59d975b..49d04af 100755 --- a/validate/auto_detect_platform.php +++ b/validate/auto_detect_platform.php @@ -64,7 +64,7 @@ class AutoDetectPlatform extends CLIApp { return [ 'repo-path:' => 'Path to repository to analyze (default: current directory)', - 'schema-dir:' => 'Path to schema definitions directory (default: api/definitions/default)', + 'schema-dir:' => 'Path to schema definitions directory (default: definitions/default)', 'output-dir:' => 'Directory for output reports (default: var/logs/validation)', ]; } diff --git a/validate/check_composer_deps.php b/validate/check_composer_deps.php index ac46ff0..16d3058 100644 --- a/validate/check_composer_deps.php +++ b/validate/check_composer_deps.php @@ -15,9 +15,9 @@ * BRIEF: Validate composer.json enterprise dependency across all governed repos * * USAGE - * php api/validate/check_composer_deps.php --repo MokoCRM # Single repo - * php api/validate/check_composer_deps.php --all # All repos - * php api/validate/check_composer_deps.php --all --json # JSON output + * php validate/check_composer_deps.php --repo MokoCRM # Single repo + * php validate/check_composer_deps.php --all # All repos + * php validate/check_composer_deps.php --all --json # JSON output */ declare(strict_types=1); diff --git a/validate/check_enterprise_readiness.php b/validate/check_enterprise_readiness.php index db04f1a..37e85db 100755 --- a/validate/check_enterprise_readiness.php +++ b/validate/check_enterprise_readiness.php @@ -139,18 +139,18 @@ class EnterpriseReadinessChecker extends CliFramework { $required = ['ApiClient', 'AuditLogger', 'Config', 'ErrorRecovery', 'MetricsCollector']; - // Enterprise libs may live in vendor/ (Composer install) or api/lib/Enterprise/ (MokoStandards itself). + // Enterprise libs may live in vendor/ (Composer install) or lib/Enterprise/ (MokoStandards itself). // A single vendor/ directory confirms the whole package is present — no need to check per-file. $vendorPkg = "{$path}/vendor/mokoconsulting-tech/enterprise"; $inVendor = is_dir($vendorPkg); foreach ($required as $library) { - $localFile = "{$path}/api/lib/Enterprise/{$library}.php"; + $localFile = "{$path}/lib/Enterprise/{$library}.php"; $found = $inVendor || file_exists($localFile); $this->addResult( "Enterprise library: {$library}", $found, - "Missing enterprise library (not in vendor/mokoconsulting-tech/enterprise or api/lib/Enterprise/)" + "Missing enterprise library (not in vendor/mokoconsulting-tech/enterprise or lib/Enterprise/)" ); } } diff --git a/validate/check_version_consistency.php b/validate/check_version_consistency.php index a1fc587..ec84389 100755 --- a/validate/check_version_consistency.php +++ b/validate/check_version_consistency.php @@ -144,7 +144,7 @@ class CheckVersionConsistency extends CliFramework // ── Check PHP Enterprise library files ──────────────────────────────── $this->section('Checking PHP source files'); - $phpFiles = $this->findPhpFiles($path . '/api/lib/Enterprise'); + $phpFiles = $this->findPhpFiles($path . '/lib/Enterprise'); $phpTotal = count($phpFiles); foreach ($phpFiles as $i => $file) { diff --git a/validate/scan_drift.php b/validate/scan_drift.php index eb3f1d5..62e778e 100755 --- a/validate/scan_drift.php +++ b/validate/scan_drift.php @@ -529,7 +529,7 @@ class DriftScanner extends CliFramework $body .= "1. **Option 1:** Run bulk sync to update all files automatically\n"; $body .= " ```bash\n"; $body .= " # From MokoStandards repository\n"; - $body .= " php api/automation/bulk_sync.php --repos=\"{$repo}\"\n"; + $body .= " php automation/bulk_sync.php --repos=\"{$repo}\"\n"; $body .= " ```\n\n"; $body .= "2. **Option 2:** If changes are intentional, update `.github/override.tf` to exclude files\n\n"; $body .= "3. **Option 3:** Manually update files to match templates\n\n"; diff --git a/wrappers/auto_detect_platform.php b/wrappers/auto_detect_platform.php index 9e94a59..b16dbfd 100644 --- a/wrappers/auto_detect_platform.php +++ b/wrappers/auto_detect_platform.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/auto_detect_platform.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/auto_detect_platform.php + * BRIEF: PHP wrapper for validate/auto_detect_platform.php */ declare(strict_types=1); const SCRIPT_NAME = 'auto_detect_platform'; -const SCRIPT_PATH = 'api/validate/auto_detect_platform.php'; +const SCRIPT_PATH = 'validate/auto_detect_platform.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/bulk_sync.php b/wrappers/bulk_sync.php index c15903a..e62d9e6 100644 --- a/wrappers/bulk_sync.php +++ b/wrappers/bulk_sync.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/bulk_sync.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/automation/bulk_sync.php + * BRIEF: PHP wrapper for automation/bulk_sync.php */ declare(strict_types=1); const SCRIPT_NAME = 'bulk_sync'; -const SCRIPT_PATH = 'api/automation/bulk_sync.php'; +const SCRIPT_PATH = 'automation/bulk_sync.php'; const SCRIPT_CATEGORY = 'automation'; /** diff --git a/wrappers/check_changelog.php b/wrappers/check_changelog.php index 3291fe1..efd221a 100644 --- a/wrappers/check_changelog.php +++ b/wrappers/check_changelog.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_changelog.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_changelog.php + * BRIEF: PHP wrapper for validate/check_changelog.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_changelog'; -const SCRIPT_PATH = 'api/validate/check_changelog.php'; +const SCRIPT_PATH = 'validate/check_changelog.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_dolibarr_module.php b/wrappers/check_dolibarr_module.php index ba74cb2..9431f3d 100644 --- a/wrappers/check_dolibarr_module.php +++ b/wrappers/check_dolibarr_module.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_dolibarr_module.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_dolibarr_module.php + * BRIEF: PHP wrapper for validate/check_dolibarr_module.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_dolibarr_module'; -const SCRIPT_PATH = 'api/validate/check_dolibarr_module.php'; +const SCRIPT_PATH = 'validate/check_dolibarr_module.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_enterprise_readiness.php b/wrappers/check_enterprise_readiness.php index 46176b5..b206383 100644 --- a/wrappers/check_enterprise_readiness.php +++ b/wrappers/check_enterprise_readiness.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_enterprise_readiness.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_enterprise_readiness.php + * BRIEF: PHP wrapper for validate/check_enterprise_readiness.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_enterprise_readiness'; -const SCRIPT_PATH = 'api/validate/check_enterprise_readiness.php'; +const SCRIPT_PATH = 'validate/check_enterprise_readiness.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_joomla_manifest.php b/wrappers/check_joomla_manifest.php index fa37d97..bc9e601 100644 --- a/wrappers/check_joomla_manifest.php +++ b/wrappers/check_joomla_manifest.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_joomla_manifest.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_joomla_manifest.php + * BRIEF: PHP wrapper for validate/check_joomla_manifest.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_joomla_manifest'; -const SCRIPT_PATH = 'api/validate/check_joomla_manifest.php'; +const SCRIPT_PATH = 'validate/check_joomla_manifest.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_language_structure.php b/wrappers/check_language_structure.php index 535c30c..dfdf329 100644 --- a/wrappers/check_language_structure.php +++ b/wrappers/check_language_structure.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_language_structure.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_language_structure.php + * BRIEF: PHP wrapper for validate/check_language_structure.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_language_structure'; -const SCRIPT_PATH = 'api/validate/check_language_structure.php'; +const SCRIPT_PATH = 'validate/check_language_structure.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_license_headers.php b/wrappers/check_license_headers.php index 0994081..54fd842 100644 --- a/wrappers/check_license_headers.php +++ b/wrappers/check_license_headers.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_license_headers.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_license_headers.php + * BRIEF: PHP wrapper for validate/check_license_headers.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_license_headers'; -const SCRIPT_PATH = 'api/validate/check_license_headers.php'; +const SCRIPT_PATH = 'validate/check_license_headers.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_no_secrets.php b/wrappers/check_no_secrets.php index 333fe24..edac90d 100644 --- a/wrappers/check_no_secrets.php +++ b/wrappers/check_no_secrets.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_no_secrets.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_no_secrets.php + * BRIEF: PHP wrapper for validate/check_no_secrets.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_no_secrets'; -const SCRIPT_PATH = 'api/validate/check_no_secrets.php'; +const SCRIPT_PATH = 'validate/check_no_secrets.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_paths.php b/wrappers/check_paths.php index 45496d0..7bad72e 100644 --- a/wrappers/check_paths.php +++ b/wrappers/check_paths.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_paths.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_paths.php + * BRIEF: PHP wrapper for validate/check_paths.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_paths'; -const SCRIPT_PATH = 'api/validate/check_paths.php'; +const SCRIPT_PATH = 'validate/check_paths.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_php_syntax.php b/wrappers/check_php_syntax.php index e6caf0d..3025501 100644 --- a/wrappers/check_php_syntax.php +++ b/wrappers/check_php_syntax.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_php_syntax.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_php_syntax.php + * BRIEF: PHP wrapper for validate/check_php_syntax.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_php_syntax'; -const SCRIPT_PATH = 'api/validate/check_php_syntax.php'; +const SCRIPT_PATH = 'validate/check_php_syntax.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_repo_health.php b/wrappers/check_repo_health.php index adef046..82a47d5 100644 --- a/wrappers/check_repo_health.php +++ b/wrappers/check_repo_health.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_repo_health.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_repo_health.php + * BRIEF: PHP wrapper for validate/check_repo_health.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_repo_health'; -const SCRIPT_PATH = 'api/validate/check_repo_health.php'; +const SCRIPT_PATH = 'validate/check_repo_health.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_structure.php b/wrappers/check_structure.php index 0fd7271..40552e6 100644 --- a/wrappers/check_structure.php +++ b/wrappers/check_structure.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_structure.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_structure.php + * BRIEF: PHP wrapper for validate/check_structure.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_structure'; -const SCRIPT_PATH = 'api/validate/check_structure.php'; +const SCRIPT_PATH = 'validate/check_structure.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_tabs.php b/wrappers/check_tabs.php index b6d5577..95a62ab 100644 --- a/wrappers/check_tabs.php +++ b/wrappers/check_tabs.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_tabs.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_tabs.php + * BRIEF: PHP wrapper for validate/check_tabs.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_tabs'; -const SCRIPT_PATH = 'api/validate/check_tabs.php'; +const SCRIPT_PATH = 'validate/check_tabs.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_version_consistency.php b/wrappers/check_version_consistency.php index ff0e327..f67f067 100644 --- a/wrappers/check_version_consistency.php +++ b/wrappers/check_version_consistency.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_version_consistency.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_version_consistency.php + * BRIEF: PHP wrapper for validate/check_version_consistency.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_version_consistency'; -const SCRIPT_PATH = 'api/validate/check_version_consistency.php'; +const SCRIPT_PATH = 'validate/check_version_consistency.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/check_xml_wellformed.php b/wrappers/check_xml_wellformed.php index ee6c4e5..53306b0 100644 --- a/wrappers/check_xml_wellformed.php +++ b/wrappers/check_xml_wellformed.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/check_xml_wellformed.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/check_xml_wellformed.php + * BRIEF: PHP wrapper for validate/check_xml_wellformed.php */ declare(strict_types=1); const SCRIPT_NAME = 'check_xml_wellformed'; -const SCRIPT_PATH = 'api/validate/check_xml_wellformed.php'; +const SCRIPT_PATH = 'validate/check_xml_wellformed.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/deploy_sftp.php b/wrappers/deploy_sftp.php index 44352de..b947bda 100644 --- a/wrappers/deploy_sftp.php +++ b/wrappers/deploy_sftp.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/deploy_sftp.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/deploy/deploy-sftp.php + * BRIEF: PHP wrapper for deploy/deploy-sftp.php */ declare(strict_types=1); const SCRIPT_NAME = 'deploy_sftp'; -const SCRIPT_PATH = 'api/deploy/deploy-sftp.php'; +const SCRIPT_PATH = 'deploy/deploy-sftp.php'; const SCRIPT_CATEGORY = 'deploy'; /** diff --git a/wrappers/fix_line_endings.php b/wrappers/fix_line_endings.php index ec8876b..5eac189 100644 --- a/wrappers/fix_line_endings.php +++ b/wrappers/fix_line_endings.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/fix_line_endings.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/fix/fix_line_endings.php + * BRIEF: PHP wrapper for fix/fix_line_endings.php */ declare(strict_types=1); const SCRIPT_NAME = 'fix_line_endings'; -const SCRIPT_PATH = 'api/fix/fix_line_endings.php'; +const SCRIPT_PATH = 'fix/fix_line_endings.php'; const SCRIPT_CATEGORY = 'fix'; /** diff --git a/wrappers/fix_permissions.php b/wrappers/fix_permissions.php index ec8109a..dc77868 100644 --- a/wrappers/fix_permissions.php +++ b/wrappers/fix_permissions.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/fix_permissions.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/fix/fix_permissions.php + * BRIEF: PHP wrapper for fix/fix_permissions.php */ declare(strict_types=1); const SCRIPT_NAME = 'fix_permissions'; -const SCRIPT_PATH = 'api/fix/fix_permissions.php'; +const SCRIPT_PATH = 'fix/fix_permissions.php'; const SCRIPT_CATEGORY = 'fix'; /** diff --git a/wrappers/fix_tabs.php b/wrappers/fix_tabs.php index 847ab5a..0864532 100644 --- a/wrappers/fix_tabs.php +++ b/wrappers/fix_tabs.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/fix_tabs.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/fix/fix_tabs.php + * BRIEF: PHP wrapper for fix/fix_tabs.php */ declare(strict_types=1); const SCRIPT_NAME = 'fix_tabs'; -const SCRIPT_PATH = 'api/fix/fix_tabs.php'; +const SCRIPT_PATH = 'fix/fix_tabs.php'; const SCRIPT_CATEGORY = 'fix'; /** diff --git a/wrappers/fix_trailing_spaces.php b/wrappers/fix_trailing_spaces.php index b3247af..aba8cb3 100644 --- a/wrappers/fix_trailing_spaces.php +++ b/wrappers/fix_trailing_spaces.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/fix_trailing_spaces.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/fix/fix_trailing_spaces.php + * BRIEF: PHP wrapper for fix/fix_trailing_spaces.php */ declare(strict_types=1); const SCRIPT_NAME = 'fix_trailing_spaces'; -const SCRIPT_PATH = 'api/fix/fix_trailing_spaces.php'; +const SCRIPT_PATH = 'fix/fix_trailing_spaces.php'; const SCRIPT_CATEGORY = 'fix'; /** diff --git a/wrappers/gen_wrappers.php b/wrappers/gen_wrappers.php index fb5458c..48a8645 100644 --- a/wrappers/gen_wrappers.php +++ b/wrappers/gen_wrappers.php @@ -12,7 +12,7 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/gen_wrappers.php * VERSION: 04.06.00 - * BRIEF: Generate PHP CLI wrapper scripts for every PHP script in api/ + * BRIEF: Generate PHP CLI wrapper scripts for every PHP script in the repo */ declare(strict_types=1); @@ -24,43 +24,43 @@ declare(strict_types=1); */ const SCRIPTS = [ // validate - 'auto_detect_platform' => ['api/validate/auto_detect_platform.php', 'validate'], - 'check_changelog' => ['api/validate/check_changelog.php', 'validate'], - 'check_dolibarr_module' => ['api/validate/check_dolibarr_module.php', 'validate'], - 'check_enterprise_readiness' => ['api/validate/check_enterprise_readiness.php', 'validate'], - 'check_joomla_manifest' => ['api/validate/check_joomla_manifest.php', 'validate'], - 'check_language_structure' => ['api/validate/check_language_structure.php', 'validate'], - 'check_license_headers' => ['api/validate/check_license_headers.php', 'validate'], - 'check_no_secrets' => ['api/validate/check_no_secrets.php', 'validate'], - 'check_paths' => ['api/validate/check_paths.php', 'validate'], - 'check_php_syntax' => ['api/validate/check_php_syntax.php', 'validate'], - 'check_repo_health' => ['api/validate/check_repo_health.php', 'validate'], - 'check_structure' => ['api/validate/check_structure.php', 'validate'], - 'check_tabs' => ['api/validate/check_tabs.php', 'validate'], - 'check_version_consistency' => ['api/validate/check_version_consistency.php', 'validate'], - 'check_xml_wellformed' => ['api/validate/check_xml_wellformed.php', 'validate'], - 'scan_drift' => ['api/validate/scan_drift.php', 'validate'], + 'auto_detect_platform' => ['validate/auto_detect_platform.php', 'validate'], + 'check_changelog' => ['validate/check_changelog.php', 'validate'], + 'check_dolibarr_module' => ['validate/check_dolibarr_module.php', 'validate'], + 'check_enterprise_readiness' => ['validate/check_enterprise_readiness.php', 'validate'], + 'check_joomla_manifest' => ['validate/check_joomla_manifest.php', 'validate'], + 'check_language_structure' => ['validate/check_language_structure.php', 'validate'], + 'check_license_headers' => ['validate/check_license_headers.php', 'validate'], + 'check_no_secrets' => ['validate/check_no_secrets.php', 'validate'], + 'check_paths' => ['validate/check_paths.php', 'validate'], + 'check_php_syntax' => ['validate/check_php_syntax.php', 'validate'], + 'check_repo_health' => ['validate/check_repo_health.php', 'validate'], + 'check_structure' => ['validate/check_structure.php', 'validate'], + 'check_tabs' => ['validate/check_tabs.php', 'validate'], + 'check_version_consistency' => ['validate/check_version_consistency.php', 'validate'], + 'check_xml_wellformed' => ['validate/check_xml_wellformed.php', 'validate'], + 'scan_drift' => ['validate/scan_drift.php', 'validate'], // automation - 'bulk_sync' => ['api/automation/bulk_sync.php', 'automation'], + 'bulk_sync' => ['automation/bulk_sync.php', 'automation'], // deploy - 'deploy_sftp' => ['api/deploy/deploy-sftp.php', 'deploy'], + 'deploy_sftp' => ['deploy/deploy-sftp.php', 'deploy'], // fix - 'fix_line_endings' => ['api/fix/fix_line_endings.php', 'fix'], - 'fix_permissions' => ['api/fix/fix_permissions.php', 'fix'], - 'fix_tabs' => ['api/fix/fix_tabs.php', 'fix'], - 'fix_trailing_spaces' => ['api/fix/fix_trailing_spaces.php', 'fix'], + 'fix_line_endings' => ['fix/fix_line_endings.php', 'fix'], + 'fix_permissions' => ['fix/fix_permissions.php', 'fix'], + 'fix_tabs' => ['fix/fix_tabs.php', 'fix'], + 'fix_trailing_spaces' => ['fix/fix_trailing_spaces.php', 'fix'], // maintenance - 'pin_action_shas' => ['api/maintenance/pin_action_shas.php', 'maintenance'], - 'setup_labels' => ['api/maintenance/setup_labels.php', 'maintenance'], - 'sync_dolibarr_readmes' => ['api/maintenance/sync_dolibarr_readmes.php', 'maintenance'], - 'update_sha_hashes' => ['api/maintenance/update_sha_hashes.php', 'maintenance'], - 'update_version_from_readme' => ['api/maintenance/update_version_from_readme.php', 'maintenance'], + 'pin_action_shas' => ['maintenance/pin_action_shas.php', 'maintenance'], + 'setup_labels' => ['maintenance/setup_labels.php', 'maintenance'], + 'sync_dolibarr_readmes' => ['maintenance/sync_dolibarr_readmes.php', 'maintenance'], + 'update_sha_hashes' => ['maintenance/update_sha_hashes.php', 'maintenance'], + 'update_version_from_readme' => ['maintenance/update_version_from_readme.php', 'maintenance'], // plugin - 'plugin_health_check' => ['api/plugin_health_check.php', 'plugin'], - 'plugin_list' => ['api/plugin_list.php', 'plugin'], - 'plugin_metrics' => ['api/plugin_metrics.php', 'plugin'], - 'plugin_readiness' => ['api/plugin_readiness.php', 'plugin'], - 'plugin_validate' => ['api/plugin_validate.php', 'plugin'], + 'plugin_health_check' => ['plugin_health_check.php', 'plugin'], + 'plugin_list' => ['plugin_list.php', 'plugin'], + 'plugin_metrics' => ['plugin_metrics.php', 'plugin'], + 'plugin_readiness' => ['plugin_readiness.php', 'plugin'], + 'plugin_validate' => ['plugin_validate.php', 'plugin'], ]; /** diff --git a/wrappers/pin_action_shas.php b/wrappers/pin_action_shas.php index ac524a3..59e85a7 100644 --- a/wrappers/pin_action_shas.php +++ b/wrappers/pin_action_shas.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/pin_action_shas.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/maintenance/pin_action_shas.php + * BRIEF: PHP wrapper for maintenance/pin_action_shas.php */ declare(strict_types=1); const SCRIPT_NAME = 'pin_action_shas'; -const SCRIPT_PATH = 'api/maintenance/pin_action_shas.php'; +const SCRIPT_PATH = 'maintenance/pin_action_shas.php'; const SCRIPT_CATEGORY = 'maintenance'; /** diff --git a/wrappers/plugin_health_check.php b/wrappers/plugin_health_check.php index 35b3006..c5f9b40 100644 --- a/wrappers/plugin_health_check.php +++ b/wrappers/plugin_health_check.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/plugin_health_check.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/plugin_health_check.php + * BRIEF: PHP wrapper for plugin_health_check.php */ declare(strict_types=1); const SCRIPT_NAME = 'plugin_health_check'; -const SCRIPT_PATH = 'api/plugin_health_check.php'; +const SCRIPT_PATH = 'plugin_health_check.php'; const SCRIPT_CATEGORY = 'plugin'; /** diff --git a/wrappers/plugin_list.php b/wrappers/plugin_list.php index c7b9224..cc33ed7 100644 --- a/wrappers/plugin_list.php +++ b/wrappers/plugin_list.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/plugin_list.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/plugin_list.php + * BRIEF: PHP wrapper for plugin_list.php */ declare(strict_types=1); const SCRIPT_NAME = 'plugin_list'; -const SCRIPT_PATH = 'api/plugin_list.php'; +const SCRIPT_PATH = 'plugin_list.php'; const SCRIPT_CATEGORY = 'plugin'; /** diff --git a/wrappers/plugin_metrics.php b/wrappers/plugin_metrics.php index c3e9f00..ddade56 100644 --- a/wrappers/plugin_metrics.php +++ b/wrappers/plugin_metrics.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/plugin_metrics.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/plugin_metrics.php + * BRIEF: PHP wrapper for plugin_metrics.php */ declare(strict_types=1); const SCRIPT_NAME = 'plugin_metrics'; -const SCRIPT_PATH = 'api/plugin_metrics.php'; +const SCRIPT_PATH = 'plugin_metrics.php'; const SCRIPT_CATEGORY = 'plugin'; /** diff --git a/wrappers/plugin_readiness.php b/wrappers/plugin_readiness.php index ec86d94..a1e8860 100644 --- a/wrappers/plugin_readiness.php +++ b/wrappers/plugin_readiness.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/plugin_readiness.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/plugin_readiness.php + * BRIEF: PHP wrapper for plugin_readiness.php */ declare(strict_types=1); const SCRIPT_NAME = 'plugin_readiness'; -const SCRIPT_PATH = 'api/plugin_readiness.php'; +const SCRIPT_PATH = 'plugin_readiness.php'; const SCRIPT_CATEGORY = 'plugin'; /** diff --git a/wrappers/plugin_validate.php b/wrappers/plugin_validate.php index 78f8b1c..4c2ed6d 100644 --- a/wrappers/plugin_validate.php +++ b/wrappers/plugin_validate.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/plugin_validate.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/plugin_validate.php + * BRIEF: PHP wrapper for plugin_validate.php */ declare(strict_types=1); const SCRIPT_NAME = 'plugin_validate'; -const SCRIPT_PATH = 'api/plugin_validate.php'; +const SCRIPT_PATH = 'plugin_validate.php'; const SCRIPT_CATEGORY = 'plugin'; /** diff --git a/wrappers/scan_drift.php b/wrappers/scan_drift.php index 22d01ec..8659a02 100644 --- a/wrappers/scan_drift.php +++ b/wrappers/scan_drift.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/scan_drift.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/validate/scan_drift.php + * BRIEF: PHP wrapper for validate/scan_drift.php */ declare(strict_types=1); const SCRIPT_NAME = 'scan_drift'; -const SCRIPT_PATH = 'api/validate/scan_drift.php'; +const SCRIPT_PATH = 'validate/scan_drift.php'; const SCRIPT_CATEGORY = 'validate'; /** diff --git a/wrappers/setup_labels.php b/wrappers/setup_labels.php index 29d165d..9a7c615 100644 --- a/wrappers/setup_labels.php +++ b/wrappers/setup_labels.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/setup_labels.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/maintenance/setup_labels.php + * BRIEF: PHP wrapper for maintenance/setup_labels.php */ declare(strict_types=1); const SCRIPT_NAME = 'setup_labels'; -const SCRIPT_PATH = 'api/maintenance/setup_labels.php'; +const SCRIPT_PATH = 'maintenance/setup_labels.php'; const SCRIPT_CATEGORY = 'maintenance'; /** diff --git a/wrappers/sync_dolibarr_readmes.php b/wrappers/sync_dolibarr_readmes.php index 7034d8e..6c14888 100644 --- a/wrappers/sync_dolibarr_readmes.php +++ b/wrappers/sync_dolibarr_readmes.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/sync_dolibarr_readmes.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/maintenance/sync_dolibarr_readmes.php + * BRIEF: PHP wrapper for maintenance/sync_dolibarr_readmes.php */ declare(strict_types=1); const SCRIPT_NAME = 'sync_dolibarr_readmes'; -const SCRIPT_PATH = 'api/maintenance/sync_dolibarr_readmes.php'; +const SCRIPT_PATH = 'maintenance/sync_dolibarr_readmes.php'; const SCRIPT_CATEGORY = 'maintenance'; /** diff --git a/wrappers/update_sha_hashes.php b/wrappers/update_sha_hashes.php index 3ccf813..09ccdfd 100644 --- a/wrappers/update_sha_hashes.php +++ b/wrappers/update_sha_hashes.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/update_sha_hashes.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/maintenance/update_sha_hashes.php + * BRIEF: PHP wrapper for maintenance/update_sha_hashes.php */ declare(strict_types=1); const SCRIPT_NAME = 'update_sha_hashes'; -const SCRIPT_PATH = 'api/maintenance/update_sha_hashes.php'; +const SCRIPT_PATH = 'maintenance/update_sha_hashes.php'; const SCRIPT_CATEGORY = 'maintenance'; /** diff --git a/wrappers/update_version_from_readme.php b/wrappers/update_version_from_readme.php index d9f28cf..639c45a 100644 --- a/wrappers/update_version_from_readme.php +++ b/wrappers/update_version_from_readme.php @@ -12,13 +12,13 @@ * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API * PATH: /wrappers/update_version_from_readme.php * VERSION: 04.06.00 - * BRIEF: PHP wrapper for api/maintenance/update_version_from_readme.php + * BRIEF: PHP wrapper for maintenance/update_version_from_readme.php */ declare(strict_types=1); const SCRIPT_NAME = 'update_version_from_readme'; -const SCRIPT_PATH = 'api/maintenance/update_version_from_readme.php'; +const SCRIPT_PATH = 'maintenance/update_version_from_readme.php'; const SCRIPT_CATEGORY = 'maintenance'; /**