Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Declare previously undeclared classes #114

Merged
merged 3 commits into from Jan 11, 2013

Conversation

Projects
None yet
2 participants
Collaborator

davedevelopment commented Dec 5, 2012

I like this for TDD, I'll often typehint an interface or class that I haven't
declared yet, without this patch I'm forced to then go and declare an empty
class to continue working.

Owner

padraic commented Jan 11, 2013

Hi Dave,

Could you rebase this to master? Otherwise, it seems to good to merge!

davedevelopment added some commits Dec 5, 2012

Declare previously undeclared classes
I like this for TDD, I'll often typehint an interface or class that I haven't
declared yet, without this patch I'm forced to then go and declare an empty
class to continue working.

Check for false... schoolboy error
Collaborator

davedevelopment commented Jan 11, 2013

Done, I also added a test for when using allowMockingNonExistentMethods.

padraic added a commit that referenced this pull request Jan 11, 2013

Merge pull request #114 from davedevelopment/define-and-extend-missin…
…g-class

Declare previously undeclared classes

@padraic padraic merged commit 52fd911 into mockery:master Jan 11, 2013

Owner

padraic commented Jan 11, 2013

Merged :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment