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

dump classes diagrams breaks for traits. #10

Open
wesleyvicthor opened this issue Jul 17, 2015 · 6 comments
Open

dump classes diagrams breaks for traits. #10

wesleyvicthor opened this issue Jul 17, 2015 · 6 comments
Labels
Milestone

Comments

@wesleyvicthor
Copy link

That is what I get.

I have tried the .phar version and the repo clone. none worked.
Is it a discontinued project ?

@digitalkaoz
Copy link
Owner

no its not discontinued...what did you try and what does the CLI with -v

@wesleyvicthor
Copy link
Author

yuml basic command with classes.
I just dumped the exception message properly to see if it had more infos, but not at all.
I get:
TokenReflection\Exception\BrokerException
Could not process the file.

My project runs on php 5.6.

Exception trace:
() at /home/wesley/Workspace/yuml-php/src/YumlPhp/Request/ClassesRequest.php:74
YumlPhp\Request\ClassesRequest->getClasses() at /home/wesley/Workspace/yuml-php/src/YumlPhp/Request/Http/ClassesRequest.php:21
YumlPhp\Request\Http\ClassesRequest->build() at /home/wesley/Workspace/yuml-php/src/YumlPhp/Builder/Builder.php:82
YumlPhp\Builder\Builder->build() at /home/wesley/Workspace/yuml-php/src/YumlPhp/Command/BaseCommand.php:85
YumlPhp\Command\BaseCommand->execute() at /home/wesley/Workspace/yuml-php/vendor/symfony/console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /home/wesley/Workspace/yuml-php/vendor/symfony/console/Application.php:878
Symfony\Component\Console\Application->doRunCommand() at /home/wesley/Workspace/yuml-php/vendor/symfony/console/Application.php:195
Symfony\Component\Console\Application->doRun() at /home/wesley/Workspace/yuml-php/src/YumlPhp/Application.php:47
YumlPhp\Application->doRun() at /home/wesley/Workspace/yuml-php/vendor/symfony/console/Application.php:126
Symfony\Component\Console\Application->run() at /home/wesley/Workspace/yuml-php/bin/yuml-php:15

@digitalkaoz
Copy link
Owner

Mh maybe it has todo with 5.6 can you Spot the exact class which triggers
the error?!

Wesley Victhor Mendes Santiago [email protected] schrieb am Fr.,
17. Juli 2015 21:15:

yuml basic command with classes.
I just dumped the exception message properly to see if it had more infos,
but not at all.
I get:
TokenReflection\Exception\BrokerException
Could not process the file.

My project runs on php 5.6.


Reply to this email directly or view it on GitHub
#10 (comment)
.

@wesleyvicthor
Copy link
Author

hmm, I think traits might be the reason.

@wesleyvicthor
Copy link
Author

yeap, that's it.

It only work for folders that does not have traits inside.

@digitalkaoz
Copy link
Owner

Ok can you change the issue topic? This must be fixed in the depending
library

Wesley Victhor Mendes Santiago [email protected] schrieb am Fr.,
17. Juli 2015 21:42:

yeap, that's it.

It only work for folders that does not have traits inside.


Reply to this email directly or view it on GitHub
#10 (comment)
.

@wesleyvicthor wesleyvicthor changed the title RuntimeException dump classes diagrams breaks for traits. Jul 17, 2015
@digitalkaoz digitalkaoz added this to the 1.1 milestone Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants