clemens-tolboom / uml-generator-php

http://clemens-tolboom.github.io/uml-generator-php/
MIT License
44 stars 5 forks source link

Not found output lines #65

Closed clemens-tolboom closed 9 years ago

clemens-tolboom commented 9 years ago

Download drupal then

uml-generator-php generate:json --only core/modules/hal/ . /tmp/d8

next give Not found but what does that mean?

$ uml-generator-php generate:dot --with-parents /tmp/d8/
Not found: \Symfony\Component\Serializer\Encoder\JsonEncoder
Not found: \Symfony\Component\EventDispatcher\EventSubscriberInterface
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Drupal\serialization\EntityResolver\UuidReferenceInterface
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Symfony\Component\Serializer\Normalizer\DenormalizerInterface
Not found: \Drupal\serialization\Normalizer\NormalizerBase
Not found: \Drupal\simpletest\DrupalUnitTestBase
Not found: \Drupal\simpletest\DrupalUnitTestBase
Not found: \Drupal\simpletest\WebTestBase
Not found: \Drupal\simpletest\DrupalUnitTestBase
Not found: \Drupal\simpletest\DrupalUnitTestBase
Not found: \Drupal\simpletest\DrupalUnitTestBase
Not found: \Drupal\Tests\UnitTestCase
Not found: \Drupal\Tests\UnitTestCase
Not found: \Drupal\Tests\UnitTestCase

what is the strategy to fix this?

MartijnBraam commented 9 years ago

If you make it run only on core/modules/hal it won't find the linked classes/interfaces/traits. There are replaced with just the class name.

These files can't easily be included because the file containing the class is only known after running generate:json over the whole codebase.

clemens-tolboom commented 9 years ago

doh ... this is a dup of #62