ComposerDeficitDetector
Detects extensions with composer deficits, e.g. missing composer.json file or missing extension-key property.
Table of Contents
Constants
- EXTENSION_COMPOSER_MANIFEST_MISSING = 1
- EXTENSION_COMPOSER_MANIFEST_VALID = 0
- EXTENSION_KEY_MISSING = 2
Methods
- __construct() : mixed
- checkExtensionComposerDeficit() : int
- Check an extension key for composer deficits like invalid or missing composer.json
- getExtensionsWithComposerDeficit() : array<string|int, mixed>
- Get all extensions with composer deficit
Constants
EXTENSION_COMPOSER_MANIFEST_MISSING
public
mixed
EXTENSION_COMPOSER_MANIFEST_MISSING
= 1
EXTENSION_COMPOSER_MANIFEST_VALID
public
mixed
EXTENSION_COMPOSER_MANIFEST_VALID
= 0
EXTENSION_KEY_MISSING
public
mixed
EXTENSION_KEY_MISSING
= 2
Methods
__construct()
public
__construct(ListUtility $listUtility) : mixed
Parameters
- $listUtility : ListUtility
checkExtensionComposerDeficit()
Check an extension key for composer deficits like invalid or missing composer.json
public
checkExtensionComposerDeficit(string $extensionKey) : int
Parameters
- $extensionKey : string
Return values
intgetExtensionsWithComposerDeficit()
Get all extensions with composer deficit
public
getExtensionsWithComposerDeficit() : array<string|int, mixed>