55
56
//handling of the internal functions file
56
57
//see e.g. testDeclarationReturnTypeDocBlock
57
58
QByteArray content("<?php "
59
61
"/** @return Exception **/ function should_return_exception() {}\n"
60
62
"class internal_test_class {/** @return Exception **/ function should_return_exception() {}}\n"
62
64
"function define() {} function substr() {} class stdClass {}\n"
63
65
"/**\n * @superglobal\n **/\n$_GET = array();\n"
65
67
content.append("interface Iterator { function rewind(); function current(); function key(); function next(); function valid(); } ");
66
68
parseAdditionalFile(internalFunctionFile(), content);