Generate API documentation alpha

Cloud based service which generates API documentation for your GitHub based project using the great documentation generator ApiGen.

Status of PHP Mess Detector (phpmd/phpmd)

Command: php -dmemory_limit=1024M /var/www/projects/apigen/apigen/apigen.php -s '/var/www/projects/apigen/repos/phpmd/phpmd/src' -d '/var/www/projects/apigen/doc-progress/phpmd/phpmd' --charset=auto --download --debug --colors=no --progressbar=yes --title='PHP Mes
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Deprecated:  iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in .../apigen/vendor/Nette/Nette/loader.php on line 30
ApiGen 3.0dev
-------------
Scanning .../repos/phpmd/phpmd/src
[===============================================================>] 100.00%  21MB
Found 40 errors

1. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleNotAppliesToFieldWithNameEqualToThreshold.php.

There were following reasons for this exception:
Class testRuleNotAppliesToFieldWithNameEqualToThreshold was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleNotAppliesToFieldWithNameEqualToThreshold.php).

2. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleNotAppliesToLocalVariableInFunctionWithNameEqualToThreshold.php.

There were following reasons for this exception:
Function testRuleNotAppliesToLocalVariableInFunctionWithNameEqualToThreshold was redeclared (previousy declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleNotAppliesToLocalVariableInFunctionWithNameEqualToThreshold.php).

3. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleAppliesToIdenticalVariablesInDifferentContextsSeveralTimes.php.

There were following reasons for this exception:
Class testRuleAppliesToIdenticalVariablesInDifferentContextsSeveralTimes was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleAppliesToIdenticalVariablesInDifferentContextsSeveralTimes.php).

4. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleNotAppliesToStaticMembersAccessedInMethod.php.

There were following reasons for this exception:
Class testRuleNotAppliesToStaticMembersAccessedInMethodClass was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleNotAppliesToStaticMembersAccessedInMethod.php).

5. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleNotAppliesToLocalVariableInMethodWithNameEqualToThreshold.php.

There were following reasons for this exception:
Class testRuleNotAppliesToLocalVariableInMethodWithNameEqualToThreshold was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleNotAppliesToLocalVariableInMethodWithNameEqualToThreshold.php).

6. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/LongVariable/testRuleAppliesToIdenticalVariableOnlyOneTime.php.

There were following reasons for this exception:
Class testRuleAppliesToIdenticalVariableOnlyOneTime was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Naming/ShortVariable/testRuleAppliesToIdenticalVariableOnlyOneTime.php).

7. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithSelfAndStaticCalls.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

8. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithoutAnyDependencies.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

9. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleAppliesToClassWithNotImportedDependencies.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

10. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleNotAppliesToIfsWithConditionsOnly.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

11. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleWorksCorrectlyWhenExpressionContainsMath.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

12. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleNotAppliesInsideClosure.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

13. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleNotAppliesToIfsWithoutAssignment.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

14. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleNotAppliesToLogicalOperators.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

15. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleNotAppliesInsideClosureCallbacks.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

16. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleAppliesMultipleTimesToMethodWithMultipleElseExpressions.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

17. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleAppliesToMethodWithElseExpression.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

18. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleNotAppliesToConstantAccess.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

19. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleAppliesToStaticMethodAccessWhenNotAllExcluded.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

20. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleNotAppliesToParentStaticCall.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

21. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleNotAppliesToDynamicMethodCall.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

22. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleAppliesToStaticMethodAccess.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

23. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/StaticAccess/testRuleNotAppliesToStaticMethodAccessWhenExcluded.php.

There were following reasons for this exception:
Class Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/ElseExpression/testRuleNotAppliesToMethodWithoutElseExpression.php).

24. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/UndefinedVariable/testRuleAppliesToUndefinedVariableOnArray.php.

There were following reasons for this exception:
Class testRuleAppliesToUndefinedVariableOnArray was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/UndefinedVariable/testRuleAppliesToUndefinedVariableOnArrayWithKeys.php).

25. The TokenReflection library threw an exception while parsing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Controversial/CamelCaseMethodName/testRuleDoesNotApplyForMagicMethods.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Unexpected token found." was the : token (line 44) in the following part of testRuleDoesNotApplyForMagicMethods::__serialize() source code:

 37:
 38:     }
 39:
 40:     public function __get($name)
 41:     {
 42:     }
 43:
*44:     public function __serialize(): array
 45:     {
 46:     }
 47:
 48:     public function __invoke()
 49:     {
 50:     }

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFunctionBase.php(302): TokenReflection\ReflectionFunctionBase->parseStaticVariables(Object(TokenReflection\Stream\StringStream))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFunctionBase->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionClass.php(1839): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#5 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionClass->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#6 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#7 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#8 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFileNamespace.php(299): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#9 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#10 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#11 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#12 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(121): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#13 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#14 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#15 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/**\n * Th...', '/var/www/projec...')
#16 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#17 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#18 .../apigen/apigen.php(50): ApiGen\Application->run()
#19 {main}

26. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedFormalParameter/testCompactFunctionRuleWorksCaseInsensitive.php.

There were following reasons for this exception:
Class testCompactFunctionRuleWorksCaseInsensitive was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedLocalVariable/testCompactFunctionRuleWorksCaseInsensitive.php).

27. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedFormalParameter/testNamespacedCompactFunctionRuleWorksCaseInsensitive.php.

There were following reasons for this exception:
Class PHPMDTest\testNamespacedCompactFunctionRuleWorksCaseInsensitive was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedLocalVariable/testNamespacedCompactFunctionRuleWorksCaseInsensitive.php).

28. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedFormalParameter/testRuleDoesNotApplyToMethodArgument.php.

There were following reasons for this exception:
Class testRuleDoesNotApplyToMethodArgument was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/UnusedLocalVariable/testRuleDoesNotApplyToMethodArgument.php).

29. The TokenReflection library threw an exception while parsing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Design/DevelopmentCodeFragment/testRuleAppliesToMethodWithinNamespace.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Invalid namespace name end, expecting ";" or "{"." was the T_NAMESPACE token (line 3) in the following part of Test\ source code:

  1: <?php
  2:
* 3: namespace Test\namespace;
  4:
  5: /**
  6:  * This file is part of PHP Mess Detector.
  7:  *
  8:  * Copyright (c) Manuel Pichler <mapi@phpmd.org>.
  9:  * All rights reserved.
 10:  *
 11:  * Licensed under BSD License
 12:  * For full copyright and license information, please see the LICENSE file.
 13:  * Redistributions of files must retain the above copyright notice.
 14:  *
 15:  * @author Manuel Pichler <mapi@phpmd.org>
 16:  * @copyright Manuel Pichler. All rights reserved.
 17:  * @license https://opensource.org/licenses/bsd-license.php BSD License
 18:  * @link http://phpmd.org/
 19:  */
 20: class testRuleAppliesToMethodWithinNamespace
 21: {
 22:     public function __construct($test = 'Test')
 23:     {
 24:         var_dump

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFileNamespace.php(119): TokenReflection\ReflectionFileNamespace->parseName(Object(TokenReflection\Stream\StringStream))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(121): TokenReflection\ReflectionFileNamespace->parse(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#5 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#6 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#7 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n\nnamespac...', '/var/www/projec...')
#8 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#9 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#10 .../apigen/apigen.php(50): ApiGen\Application->run()
#11 {main}

30. The TokenReflection library threw an exception while parsing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Design/DevelopmentCodeFragment/testRuleNotAppliesToMethodWithinNamespaceByDefault.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Invalid namespace name end, expecting ";" or "{"." was the T_NAMESPACE token (line 3) in the following part of Test\ source code:

  1: <?php
  2:
* 3: namespace Test\namespace;
  4:
  5: /**
  6:  * This file is part of PHP Mess Detector.
  7:  *
  8:  * Copyright (c) Manuel Pichler <mapi@phpmd.org>.
  9:  * All rights reserved.
 10:  *
 11:  * Licensed under BSD License
 12:  * For full copyright and license information, please see the LICENSE file.
 13:  * Redistributions of files must retain the above copyright notice.
 14:  *
 15:  * @author Manuel Pichler <mapi@phpmd.org>
 16:  * @copyright Manuel Pichler. All rights reserved.
 17:  * @license https://opensource.org/licenses/bsd-license.php BSD License
 18:  * @link http://phpmd.org/
 19:  */
 20: class testRuleNotAppliesToMethodWithinNamespaceByDefault
 21: {
 22:     public function __construct($test = 'Test')
 23:     {
 24:         var_dump

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFileNamespace.php(119): TokenReflection\ReflectionFileNamespace->parseName(Object(TokenReflection\Stream\StringStream))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(121): TokenReflection\ReflectionFileNamespace->parse(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#5 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#6 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#7 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n\nnamespac...', '/var/www/projec...')
#8 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#9 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#10 .../apigen/apigen.php(50): ApiGen\Application->run()
#11 {main}

31. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Rule/Design/EmptyCatchBlock/testRuleNotAppliesToMethodWithoutTryCatchBlock.php.

There were following reasons for this exception:
Class PHPMDTest\Foo was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Rule/CleanCode/MissingImport/testRuleNotAppliesToClassWithOnlyImportedDependencies.php).

32. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsIgnoresCaseFirstLetter.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsIgnoresCaseFirstLetter.php" token stream.
The cause of the exception was the } token (line 38) in following part of no-namespace source code:

 29:
 30: {
 31:     /**
 32:      * @suppressWarnings("PHPMD.FooBar")
 33:      */
 34:     function testHasSuppressWarningsIgnoresCaseFirstLetter()
 35:     {
 36:
 37:     }
*38: }
 39:

33. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsDelegatesToParentInterfaceMethod.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsDelegatesToParentInterfaceMethod.php" token stream.
The cause of the exception was the } token (line 32) in following part of no-namespace source code:

 23:
 24: }
 25:
 26: /**
 27:  * @SuppressWarnings("PHPMD.FooBar")
 28:  */
 29: interface testHasSuppressWarningsDelegatesToParentInterfaceMethodInterface
 30: {
 31:     function testHasSuppressWarningsDelegatesToParentInterfaceMethod();
*32: }
 33:

34. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsDelegatesToParentClassMethod.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsDelegatesToParentClassMethod.php" token stream.
The cause of the exception was the } token (line 36) in following part of no-namespace source code:

 31:
 32: {
 33:     public function testHasSuppressWarningsDelegatesToParentClassMethod()
 34:     {
 35:     }
*36: }
 37:

35. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testGetParentTypeReturnsClassForClassMethod.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testGetParentTypeReturnsClassForClassMethod.php" token stream.
The cause of the exception was the } token (line 32) in following part of no-namespace source code:

 26:
 27: {
 28:     public function testGetParentTypeReturnsClassForClassMethod()
 29:     {
 30:
 31:     }
*32: }
 33:

36. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testGetParentTypeReturnsInterfaceForInterfaceMethod.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testGetParentTypeReturnsInterfaceForInterfaceMethod.php" token stream.
The cause of the exception was the } token (line 26) in following part of no-namespace source code:

 20:
 21: }
 22:
 23: interface testGetParentTypeReturnsInterfaceForInterfaceMethodInterface
 24: {
 25:     function testGetParentTypeReturnsInterfaceForInterfaceMethod();
*26: }
 27:

37. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsExecutesDefaultImplementation.php.

There were following reasons for this exception:
Thrown when working with file ".../repos/phpmd/phpmd/src/test/resources/files/Node/MethodNode/testHasSuppressWarningsExecutesDefaultImplementation.php" token stream.
The cause of the exception was the } token (line 38) in following part of no-namespace source code:

 29:
 30: {
 31:     /**
 32:      * @SuppressWarnings("PHPMD.FooBar")
 33:      */
 34:     function testHasSuppressWarningsExecutesDefaultImplementation()
 35:     {
 36:
 37:     }
*38: }
 39:

38. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/Node/ClassNode/testGetConstantCount.php.

There were following reasons for this exception:
Class testGetConstantCount was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/Node/InterfaceNode/testGetConstantCount.php).

39. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/source/source_with_npath_violation.php.

There were following reasons for this exception:
Class NPathClass was redeclared (previously declared in file .../repos/phpmd/phpmd/src/test/resources/files/sourceExcluded/source_with_npath_violation.php).

40. There was an error processing the file .../repos/phpmd/phpmd/src/test/resources/files/source/ccn_function.php.

There were following reasons for this exception:
Function ccn_function was redeclared (previousy declared in file .../repos/phpmd/phpmd/src/test/resources/files/source/ccn_suppress_function.php).

Found 427 classes, 0 constants, 60 functions and other 26 used PHP internal classes
Documentation for 427 classes, 0 constants, 60 functions and other 26 used PHP internal classes will be generated
Generating to directory .../doc-progress/phpmd/phpmd
[===============================================================>] 100.00%  55MB
Done. Total time: 35 sec, used: 55 MB RAM