Skip to content

Add lint workflow

Add lint workflow #1

Triggered via push August 2, 2024 22:21
Status Failure
Total duration 1m 56s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: autoload.php#L20
Parameter #1 $callback of function spl_autoload_register expects (callable(string): void)|null, Closure(mixed): true given.
Lint: install.php#L19
Class plgSystemYoosupermailerInstallerScript extends unknown class Joomla\CMS\Installer\InstallerScript.
Lint: install.php#L26
Access to an undefined property plgSystemYoosupermailerInstallerScript::$minimumJoomla.
Lint: install.php#L27
Access to an undefined property plgSystemYoosupermailerInstallerScript::$minimumPhp.
Lint: install.php#L40
plgSystemYoosupermailerInstallerScript::preflight() calls parent::preflight() but plgSystemYoosupermailerInstallerScript does not extend any class.
Lint: install.php#L44
Constant JPATH_SITE not found.
Lint: install.php#L47
Access to constant WARNING on an unknown class Joomla\CMS\Log\Log.
Lint: install.php#L47
Call to static method add() on an unknown class Joomla\CMS\Log\Log.
Lint: install.php#L77
Method plgSystemYoosupermailerInstallerScript::getDatabase() has invalid return type Joomla\Database\DatabaseInterface.
Lint: install.php#L77
PHPDoc tag @throws with type KeyNotFoundException is not subtype of Throwable