ircmaxell / Tuli

A static analysis engine
MIT License
170 stars 7 forks source link

Unknown type declaration found: * #13

Open moffe42 opened 8 years ago

moffe42 commented 8 years ago
Analyzing ../api/lib/Colourbox/Search/SearchRequestParameterMappings/RequestParameterMapper.php

  [RuntimeException]
  Unknown type declaration found: *

Exception trace:
 () at /var/www/cbx/Tuli/vendor/ircmaxell/php-cfg/lib/PHPCfg/AstVisitor/NameResolver.php:85
 PHPCfg\AstVisitor\NameResolver->parseTypeDecl() at /var/www/cbx/Tuli/vendor/ircmaxell/php-cfg/lib/PHPCfg/AstVisitor/NameResolver.php:53
 PHPCfg\AstVisitor\NameResolver->PHPCfg\AstVisitor\{closure}() at n/a:n/a
 preg_replace_callback() at /var/www/cbx/Tuli/vendor/ircmaxell/php-cfg/lib/PHPCfg/AstVisitor/NameResolver.php:56
 PHPCfg\AstVisitor\NameResolver->enterNode() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:120
 PhpParser\NodeTraverser->traverseArray() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:84
 PhpParser\NodeTraverser->traverseNode() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:129
 PhpParser\NodeTraverser->traverseArray() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:84
 PhpParser\NodeTraverser->traverseNode() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:129
 PhpParser\NodeTraverser->traverseArray() at /var/www/cbx/Tuli/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:64
 PhpParser\NodeTraverser->traverse() at /var/www/cbx/Tuli/vendor/ircmaxell/php-cfg/lib/PHPCfg/Parser.php:60
 PHPCfg\Parser->parse() at /var/www/cbx/Tuli/lib/Tuli/Command.php:107
 Tuli\Command->getGraphsFromFiles() at /var/www/cbx/Tuli/lib/Tuli/Command.php:59
 Tuli\Command->execute() at /var/www/cbx/Tuli/lib/Tuli/Command/Analyze.php:32
 Tuli\Command\Analyze->execute() at /var/www/cbx/Tuli/vendor/symfony/console/Command/Command.php:259
 Symfony\Component\Console\Command\Command->run() at /var/www/cbx/Tuli/vendor/symfony/console/Application.php:878
 Symfony\Component\Console\Application->doRunCommand() at /var/www/cbx/Tuli/vendor/symfony/console/Application.php:195
 Symfony\Component\Console\Application->doRun() at /var/www/cbx/Tuli/vendor/symfony/console/Application.php:126
 Symfony\Component\Console\Application->run() at /var/www/cbx/Tuli/vendor/cilex/cilex/src/Cilex/Application.php:66
 Cilex\Application->run() at /var/www/cbx/Tuli/bin/tuli:26

analyze [-x|--exclude EXCLUDE] [--] <files> (<files>)...