Open CoalaJoe opened 7 years ago
I followed the same steps from the README
bin/uml-generator-php generate:json /Users/clemens/Sites/drupal/d8/www tests/output
then
bin/uml-generator-php generate:dot --with-parents --documenter drupal tests/output
similar errors
PHP Warning: file_get_contents(): Filename cannot be empty in /private/tmp/uml-generator-php/src/OopToDot.php on line 46
PHP Stack trace:
PHP 1. {main}() /private/tmp/uml-generator-php/bin/uml-generator-php:0
PHP 2. Symfony\Component\Console\Application->run() /private/tmp/uml-generator-php/bin/uml-generator-php:14
PHP 3. Symfony\Component\Console\Application->doRun() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:122
PHP 4. Symfony\Component\Console\Application->doRunCommand() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:191
PHP 5. Symfony\Component\Console\Command\Command->run() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:846
PHP 6. UmlGeneratorPhp\Command\DotCommand->execute() /private/tmp/uml-generator-php/vendor/symfony/console/Command/Command.php:264
PHP 7. UmlGeneratorPhp\OopToDot->getMergedDiagram() /private/tmp/uml-generator-php/src/Command/DotCommand.php:102
PHP 8. UmlGeneratorPhp\OopToDot->loadParentDiagram() /private/tmp/uml-generator-php/src/OopToDot.php:34
PHP 9. file_get_contents() /private/tmp/uml-generator-php/src/OopToDot.php:46
Warning: file_get_contents(): Filename cannot be empty in /private/tmp/uml-generator-php/src/OopToDot.php on line 46
Call Stack:
0.0002 229656 1. {main}() /private/tmp/uml-generator-php/bin/uml-generator-php:0
0.0095 1863584 2. Symfony\Component\Console\Application->run() /private/tmp/uml-generator-php/bin/uml-generator-php:14
0.0118 2228000 3. Symfony\Component\Console\Application->doRun() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:122
0.0120 2229056 4. Symfony\Component\Console\Application->doRunCommand() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:191
0.0120 2229688 5. Symfony\Component\Console\Command\Command->run() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:846
0.0123 2235424 6. UmlGeneratorPhp\Command\DotCommand->execute() /private/tmp/uml-generator-php/vendor/symfony/console/Command/Command.php:264
0.0266 7743616 7. UmlGeneratorPhp\OopToDot->getMergedDiagram() /private/tmp/uml-generator-php/src/Command/DotCommand.php:102
0.0266 7743856 8. UmlGeneratorPhp\OopToDot->loadParentDiagram() /private/tmp/uml-generator-php/src/OopToDot.php:34
0.0266 7744344 9. file_get_contents() /private/tmp/uml-generator-php/src/OopToDot.php:46
PHP Warning: array_merge(): Argument #2 is not an array in /private/tmp/uml-generator-php/src/OopToDot.php on line 49
PHP Stack trace:
PHP 1. {main}() /private/tmp/uml-generator-php/bin/uml-generator-php:0
PHP 2. Symfony\Component\Console\Application->run() /private/tmp/uml-generator-php/bin/uml-generator-php:14
PHP 3. Symfony\Component\Console\Application->doRun() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:122
PHP 4. Symfony\Component\Console\Application->doRunCommand() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:191
PHP 5. Symfony\Component\Console\Command\Command->run() /private/tmp/uml-generator-php/vendor/symfony/console/Application.php:846
PHP 6. UmlGeneratorPhp\Command\DotCommand->execute() /private/tmp/uml-generator-php/vendor/symfony/console/Command/Command.php:264
PHP 7. UmlGeneratorPhp\OopToDot->getMergedDiagram() /private/tmp/uml-generator-php/src/Command/DotCommand.php:102
PHP 8. UmlGeneratorPhp\OopToDot->loadParentDiagram() /private/tmp/uml-generator-php/src/OopToDot.php:34
PHP 9. array_merge() /private/tmp/uml-generator-php/src/OopToDot.php:49
Warning: array_merge(): Argument #2 is not an array in /private/tmp/uml-generator-php/src/OopToDot.php on line 49
JSON output looks good. All .dot files are empty. I ran this command in the root directory of the project:
sudo ~/uml-generator-php/bin/uml-generator-php generate:dot -p --documenter drupal ./uml/
This is the error-output: