TYPO3CMS
9.5
|
Public Member Functions | |
int | execute () |
Private Member Functions | |
Symfony Component Finder Finder | findExtensionComposerJson () |
validateComposerJson (string $composerJsonFile) | |
string | extractExtensionKey (string $filename) |
Private Attributes | |
array | $rootComposerJson = array( ) |
$testResults = array( ) | |
Core integrity test script:
Find all composer.json files in all system extensions and compare their dependencies against the defined dependencies of our root composer.json
Definition at line 30 of file checkIntegrityComposer.php.
int checkIntegrityComposer::execute | ( | ) |
Executes the composer integrity check. The return value is used directly in the ext() call outside this class.
Definition at line 44 of file checkIntegrityComposer.php.
References $output, $rootComposerJson, findExtensionComposerJson(), and validateComposerJson().
|
private |
Makes the output on CLI a bit more readable
string | $filename |
Definition at line 140 of file checkIntegrityComposer.php.
Referenced by validateComposerJson().
|
private |
Finds all composer.json files in TYPO3s system extensions
Definition at line 88 of file checkIntegrityComposer.php.
References $finder.
Referenced by execute().
|
private |
Checks if the dependencies defined in $composerJsonFile are the same as in TYPO3s root composer.json file.
string | $composerJsonFile |
Definition at line 104 of file checkIntegrityComposer.php.
References extractExtensionKey().
Referenced by execute().
|
private |
Definition at line 34 of file checkIntegrityComposer.php.
Referenced by execute().
|
private |
Definition at line 36 of file checkIntegrityComposer.php.