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

checkExtensionComposerDeficit()

Check an extension key for composer deficits like invalid or missing composer.json

public checkExtensionComposerDeficit(string $extensionKey) : int
Parameters
$extensionKey : string
Return values
int

getExtensionsWithComposerDeficit()

Get all extensions with composer deficit

public getExtensionsWithComposerDeficit() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results