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.
- 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?
- 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 aclient
package.
- Unit test for a mock class
- Deleted and made canary tests for real classes (currently no logic to test anyway)
- Renamed integration test as "IT" to match naming convention in phpunit config
- Removed unused mockery dependency
Please review: @ahoffmann @weizhong-wang @alundholm @SDUNAGAN