Property | Type | Description | |
---|---|---|---|
$compatiblePlugins | string[] | ||
$incompatiblePlugins |
Method | Description | |
---|---|---|
__construct ( |
RequirementsChecker constructor. | |
getRequirements ( ) : array | Returns list of requirements and their fulfillment | |
gitMatchesMinimumRequiredVersion ( string $gitVersion, string $minimumRequiredVersion = null ) : boolean | Returns true if git version matches the minimum required version. If minimum required version is not given, RequirementsChecker::GIT_MINIMUM_REQUIRED_VERSION is used by default. | |
isEverythingFulfilled ( ) | ||
isWithoutCriticalErrors ( ) |
Method | Description | |
---|---|---|
countEntities ( ) | ||
testComposerJson ( ) | ||
testDirectoryLayout ( ) | ||
testExternalPlugins ( ) : integer | ||
tryAccessControlFiles ( ) | ||
tryGit ( ) : string | ||
tryRunProcess ( ) | ||
tryWrite ( ) |
public __construct ( |
||
$database | ||
$schema | ||
$checkScope | string | determines if all VersionPress requirements need to be fullfilled or just some of them. Possible values are RequirementsChecker::SITE or RequirementsChecker::ENVIRONMENT Default value is RequirementsChecker::SITE which means that all requirements need to be matched. RequirementsChecker::ENVIRONMENT checks only requirements related to "runtime" environment. |
public getRequirements ( ) : array | ||
return | array |