Fix proxies generation

I redo all commits, and I updated the NullObject with the remove of autoGenerate and added new phpt tests