‪TYPO3CMS  9.5
ExtensionScannerRstFileReferencesChecker Class Reference

Public Attributes

foreach($matcherConfigurationFiles as $matcherConfigurationFile) if (empty( $this->invalidRestFiles))
 
 foreach ( $this->invalidRestFiles as $invalid)
 
 return
 

Private Member Functions

array< string, $invalidRestFiles=array();private array< string, $validRestFiles=array();private array< string, $existingRestFiles=array();public check():int { $this->existingRestFiles=$this->fetchExistingRstFiles();$finder=new Symfony\Component\Finder\Finder();$matcherConfigurationFiles=$finder-> files () -> in(__DIR__ . '/../../typo3/sysext/install/Configuration/ExtensionScanner/Php')
 
 fetchExistingRstFiles ()
 
 checkRstFiles ($matcherConfiguration, $matcherConfigurationFile)
 

Detailed Description

Core integrity test script:

Find all ReST files configured in EXT:install/Configuration/ExtensionScanner/Php and verify they exist in EXT:core/Documentation/Changelog

Definition at line 29 of file extensionScannerRstFileReferences.php.

Member Function Documentation

◆ checkRstFiles()

ExtensionScannerRstFileReferencesChecker::checkRstFiles (   $matcherConfiguration,
  $matcherConfigurationFile 
)
private

Definition at line 100 of file extensionScannerRstFileReferences.php.

Referenced by files().

◆ fetchExistingRstFiles()

ExtensionScannerRstFileReferencesChecker::fetchExistingRstFiles ( )
private

Definition at line 81 of file extensionScannerRstFileReferences.php.

References $finder.

◆ files()

array<string, $invalidRestFiles = array( ); private array<string, $validRestFiles = array( ); private array<string, $existingRestFiles = array( ); public check(): int { $this->existingRestFiles = $this->fetchExistingRstFiles(); $finder = new Symfony\Component\Finder\Finder(); $matcherConfigurationFiles = $finder-> ExtensionScannerRstFileReferencesChecker::files ( ) -> in(__DIR__ . '/../../typo3/sysext/install/Configuration/ExtensionScanner/Php')
private

string>

References checkRstFiles().

Member Data Documentation

◆ foreach

ExtensionScannerRstFileReferencesChecker::foreach($this->invalidRestFiles as $invalid)

Definition at line 70 of file extensionScannerRstFileReferences.php.

◆ if

foreach ( $matcherConfigurationFiles as $matcherConfigurationFile) ExtensionScannerRstFileReferencesChecker::if(empty($this->invalidRestFiles))

Definition at line 66 of file extensionScannerRstFileReferences.php.

◆ return

ExtensionScannerRstFileReferencesChecker::return

Definition at line 78 of file extensionScannerRstFileReferences.php.