chriskite / phactory

A Database Factory for PHP Unit Tests
http://phactory.org
MIT License
140 stars 39 forks source link

Phactory::define() naming problem #5

Closed jblotus closed 13 years ago

jblotus commented 13 years ago

Hi Chris,

I have a bit of annoyance when using Phactory in Eclipse and a few other IDE's. The Phactory::define() method doesn't validate since Eclipse thinks that we are trying to call php's native define().

I am going to submit a pull request/patch that aliases the Phactory::define() method defineBlueprint(). In my honest opinion define() was not the best naming choice in your otherwise awesome component.