Skip to content

Clean up and organize in separate packages

I found this project very confusing, so as I read through it, I made changes that I think make it easier to understand.

  1. Exotic looking generated classes!
  • I moved these to wsdl-generated-classes so that they are not mixed in with our code (as it is, classGenerator.php would delete our code too, right?)
  • When I ran classGenerator.php, the class names ended in "Custom"; is this normal?
  1. Interface, facade, and implementation are all in the same package - hard to tell what's what
  • Put the service interface and domain object in an api package, and the client, in a client package.
  1. Unit test for a mock class
  • Deleted and made canary tests for real classes (currently no logic to test anyway)
  1. Renamed integration test as "IT" to match naming convention in phpunit config
  2. Removed unused mockery dependency

Please review: @ahoffmann @weizhong-wang @alundholm @SDUNAGAN

Screenshot_from_2016-04-08_11-00-48

Merge request reports

Loading