Fix generation condition
Remove autoGenerate
Restore autoGenerate function and add a deprecated
Fix CS
Remove autoGenerate from NullObject
Add phpt tests
Fix CS
Fix gitignore
Revert removed file
Merge branch 'hotfix/proxies-generation' - fixes #90 and #87