mrkrstphr / php-gedcom

UNMAINTAINED - A library for reading and writing GEDCOM files in PHP.
MIT License
38 stars 46 forks source link

Fix duplicated class names #20

Closed WorkingDevel closed 9 years ago

WorkingDevel commented 9 years ago

When I run composer dump-autoload --optimize in a project that includes php-gedcom library via composer.json I get for almost all classes under library/PhpGedcom/Record/Fam this error:

Ambiguous class resolution, "PhpGedcom\Record\Fam\Marr"

It looks like these classes are not really used at all, but if the class PhpGedcom\Record\Fam\Marr is used it could result in unexpected behavior as the wrong implementation could be loaded.

This fixes the class names.

mrkrstphr commented 9 years ago

Thanks!