Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'PhpParser\ErrorHandler\Throwing' not found #298

Closed
PabloJoan opened this issue Dec 16, 2016 · 2 comments
Closed

Class 'PhpParser\ErrorHandler\Throwing' not found #298

PabloJoan opened this issue Dec 16, 2016 · 2 comments

Comments

@PabloJoan
Copy link

PabloJoan commented Dec 16, 2016

phpdox:
   [phpdox] phpDox 0.8.2-dev - Copyright (C) 2010 - 2016 by Arne Blankerts
   [phpdox] 
   [phpdox] [16.12.2016 - 02:32:00] Using config file './phpdox.xml'
   [phpdox] [16.12.2016 - 02:32:00] Registered collector backend 'parser'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'build'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'git'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'checkstyle'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'phpcs'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'pmd'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'phpunit'
   [phpdox] [16.12.2016 - 02:32:00] Registered enricher 'phploc'
   [phpdox] [16.12.2016 - 02:32:00] Registered output engine 'xml'
   [phpdox] [16.12.2016 - 02:32:00] Registered output engine 'html'
   [phpdox] [16.12.2016 - 02:32:00] Starting to process project 'CafeMedia'
   [phpdox] [16.12.2016 - 02:32:00] Starting collector
   [phpdox] [16.12.2016 - 02:32:00] Scanning directory '../src' for files to process
   [phpdox] 
   [phpdox] 
   [phpdox] 
   [phpdox] Oups... phpDox encountered a problem and has terminated!
   [phpdox] 
   [phpdox] It most likely means you've found a bug, so please file a report for this
   [phpdox] and paste the following details and the stacktrace (if given) along:
   [phpdox] 
   [phpdox] PHP Version: 7.0.14 (Linux)
   [phpdox] PHPDox Version: 0.8.2-dev
   [phpdox] Exception: Error (Code: 0)
   [phpdox] Location: /home/p/.config/composer/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php (Line 28)
   [phpdox] 
   [phpdox] Class 'PhpParser\ErrorHandler\Throwing' not found
   [phpdox] 
   [phpdox] #0 /home/p/.config/composer/vendor/theseer/phpdox/src/collector/Collector.php(141): TheSeer\phpDox\Collector\Backend\PHPParser->parse()
   [phpdox] #1 /home/p/.config/composer/vendor/theseer/phpdox/src/collector/Collector.php(105): TheSeer\phpDox\Collector\Collector->processFile()
   [phpdox] #2 /home/p/.config/composer/vendor/theseer/phpdox/src/Application.php(122): TheSeer\phpDox\Collector\Collector->run()
   [phpdox] #3 /home/p/.config/composer/vendor/theseer/phpdox/src/CLI.php(161): TheSeer\phpDox\Application->runCollector()
   [phpdox] #4 /home/p/.config/composer/vendor/theseer/phpdox/phpdox(67): TheSeer\phpDox\CLI->run()
   [phpdox] 
   [phpdox] 
   [phpdox] 
   [phpdox] Result: 5

@PabloJoan
Copy link
Author

config

<?xml version="1.0" encoding="utf-8" ?>
<phpdox xmlns="http://xml.phpdox.net/config">
 <project name="CafeMedia" source="../src" workdir="phpdox">
  <collector publiconly="false">
   <include mask="*.php" />
   <exclude mask="*autoload.php" />
  </collector>

  <generator output=".">
   <enrich base="logs">
    <source type="build" />
    <source type="git" />
    <source type="phploc" />
    <source type="checkstyle" />
    <source type="pmd" />
    <source type="phpunit" />
   </enrich>

   <build engine="html" enabled="true" output="api">
    <file extension="html" />
   </build>
  </generator>
 </project>
</phpdox>

@theseer
Copy link
Owner

theseer commented Dec 16, 2016

Duplicate of #289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants