Closed thekid closed 7 years ago
An example:
$ cat Test.class.php
<?php
use lang\partial\Value;
class Test {
use TYPO\is\Value;
}
$ xp mirror Test
Uncaught exception: Error (Call to a member function writeLine() on null)
Message now:
$ xp mirror Test
Uncaught exception: Exception lang.ClassDependencyException (
Dependencies for class "Test" could not be loaded:
Prefix "TYPO" does not refer to enclosing class
)
...if class loading fails. Fix was to migrate code to use new naming used since 0.6.0, see #12:
Didn't break immediately but made unittests fail due to static initializers not being run. /cc @kiesel