Github user RobberPhex commented on the issue:

    https://github.com/apache/thrift/pull/1479
  
    There are some break changes:
    
    1. for generated code, old struct is `Types.php` for all args, results, 
`<Service>.php` for `ServiceIf`, `ServiceClient`, etc.
      new struct is `<classname>.php` for `<class>`. Maybe cause some code 
analyzer doesn't work.
    2. for ThriftClassloader. before, user use 
`$loader->registerDefinition('namespace', '<path>')`. 
      At new struct, **it doesn't work**. user can use 
`$composerLoader->addPsr4('namespace', '<path>')` or 
`$thriftLoader->registerNamespace('namespace', '<path>')`.
    3. for composer loader, generated code loaded via classmap. With new 
struct, composer's classmap can also load psr-4 code. (of cause psr-4 is 
recommended).



---

Reply via email to