Template
ci: skip Joomla metadata check on template repos; fix sample script PHP #41
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user