ci: skip Joomla metadata check on template repos; fix sample script PHP #41

Merged
jmiller merged 1 commits from fix/template-ci-skip into main 2026-07-04 19:27:10 +00:00
5 changed files with 6 additions and 4 deletions
@@ -28,6 +28,8 @@ jobs:
validate-metadata:
name: "Validate Joomla Metadata"
runs-on: ubuntu-latest
# Skip on template repos (Template-*) — they have no real extension manifest to validate.
if: ${{ !startsWith(github.event.repository.name, 'Template-') }}
steps:
- name: Checkout
+1 -1
View File
@@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log;
defined('_JEXEC') || die;
class {REPONAME}InstallerScript
class ComponentInstallerScript
{
/**
* @var string The saved download key cached during preflight to survive updates
+1 -1
View File
@@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log;
defined('_JEXEC') || die;
class {REPONAME}InstallerScript
class ModuleInstallerScript
{
/**
* @var string The saved download key cached during preflight to survive updates
+1 -1
View File
@@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log;
defined('_JEXEC') || die;
class {REPONAME}InstallerScript
class PackageInstallerScript
{
/**
* @var string The saved download key cached during preflight to survive updates
+1 -1
View File
@@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log;
defined('_JEXEC') || die;
class {REPONAME}InstallerScript
class PluginInstallerScript
{
/**
* @var string The saved download key cached during preflight to survive updates