‪TYPO3CMS  ‪main
NodeVisitor Class Reference
Inheritance diagram for NodeVisitor:

Public Member Functions

 enterNode (Node $node)
 
 enterNode (Node $node)
 
 enterNode (Node $node)
 

Public Attributes

array $matches = []
 

Detailed Description

This script checks all class tests are declared final.

This script checks tests do not start with "test" like "public function testSomething". Instead they should be like "public function SomethinIsLike()" and have a

Test:
‪annotation.

This is done for general consistency and the "splitter" scripts that chunk tests to multiple nodes for functional tests.

Definition at line 28 of file annotationChecker.php.

Member Function Documentation

◆ enterNode() [1/3]

NodeVisitor::enterNode ( Node  $node)

Definition at line 20 of file testClassFinalChecker.php.

◆ enterNode() [2/3]

NodeVisitor::enterNode ( Node  $node)

Definition at line 25 of file testMethodPrefixChecker.php.

◆ enterNode() [3/3]

NodeVisitor::enterNode ( Node  $node)

Definition at line 35 of file annotationChecker.php.

References $matches.

Member Data Documentation

◆ $matches

array NodeVisitor::$matches = []

Definition at line 33 of file annotationChecker.php.

Referenced by enterNode().