Empty .dot files #75

Open
CoalaJoe opened this Issue Nov 22, 2016 · 1 comment

Projects

None yet

2 participants

@CoalaJoe

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:


PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
Not found: \RuntimeException
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 46
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 49
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
Not found: \PHP_CodeSniffer_Standards_AbstractPatternSniff
Not found: \PHP_CodeSniffer_Sniff
PHP Notice:  Array to string conversion in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 251
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #1 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #1 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #1 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #1 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
Not found: \ArrayAccess
Not found: \Countable
Not found: \SeekableIterator
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
Not found: \ArrayIterator
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
Not found: \Exception
Not found: \Exception
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
Not found: \Exception
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78
PHP Warning:  file_get_contents(): Filename cannot be empty in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 75
PHP Warning:  array_merge(): Argument #2 is not an array in /home/pcadministrator/uml-generator-php/src/OopToDot.php on line 78

@clemens-tolboom
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment