Closed wesleyvicthor closed 10 years ago
the basepath
argument should point to the folder containing your root
namespace.
e.g.
to build for a class Foo\Bar\Bazz
and this class resists in src/libs/my-custom-lib/src/foo/bar
the path should be src/libs/my-custom-lib/src
$php yuml-php.phar classes --methods <project>/src/ <project>/src
I did this but it fails yet.
can you provide a concrete example?
The examples above are exactly as I'm doing. I downloaded the .phar and tried to execute out of the project folder. I've tried inside the folder too.
It worked as a dependency in the project, loaded by composer and executed via vendor/bin/yuml-php.
are your classes psr-0 compatible?
of course it is. it is symfony2.
grep the new phar or checkout 0.9.0
that should work now...the basepath is not needed anymore
I'm getting a fatal error not found class even setting the autoload path.
I'm using symfony2.