‪TYPO3CMS  ‪main
CheckNamespaceIntegrity Class Reference

Public Member Functions

 scan ()
 

Protected Member Functions

 determineExpectedFullQualifiedNamespace (string $systemExtensionKey, string $relativeFilename,)
 
 getExtensionClassesNamespace (string $systemExtensionKey, string $relativeFilename)
 
 getExtensionTestsNamespaces (string $systemExtensionKey, string &$relativeFilename)
 
 getPSR4NamespaceFromComposerJson (string $systemExtensionKey, string $fullComposerJsonFilePath, string &$relativeFileName, bool $autoloadDev=false)
 
 createFinder ()
 

Detailed Description

Class to scan for invalid namespaces.

Definition at line 36 of file checkNamespaceIntegrity.php.

Member Function Documentation

◆ createFinder()

CheckNamespaceIntegrity::createFinder ( )
protected

Definition at line 214 of file checkNamespaceIntegrity.php.

Referenced by scan().

◆ determineExpectedFullQualifiedNamespace()

CheckNamespaceIntegrity::determineExpectedFullQualifiedNamespace ( string  $systemExtensionKey,
string  $relativeFilename 
)
protected

Definition at line 120 of file checkNamespaceIntegrity.php.

References getExtensionClassesNamespace(), and getExtensionTestsNamespaces().

Referenced by scan().

◆ getExtensionClassesNamespace()

CheckNamespaceIntegrity::getExtensionClassesNamespace ( string  $systemExtensionKey,
string  $relativeFilename 
)
protected

◆ getExtensionTestsNamespaces()

CheckNamespaceIntegrity::getExtensionTestsNamespaces ( string  $systemExtensionKey,
string &  $relativeFilename 
)
protected

◆ getPSR4NamespaceFromComposerJson()

CheckNamespaceIntegrity::getPSR4NamespaceFromComposerJson ( string  $systemExtensionKey,
string  $fullComposerJsonFilePath,
string &  $relativeFileName,
bool  $autoloadDev = false 
)
protected

◆ scan()

CheckNamespaceIntegrity::scan ( )