Skip to content

Fixed touch command #75

New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2013
Merged

Fixed touch command #75

merged 1 commit into from
Jun 28, 2013

Conversation

dantleech
Copy link
Member

Options were being passed with wrong keys.. hmm.

/**
* @var RepositoryInterface|\PHPUnit_Framework_MockObject_MockObject
*/
public $repository;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbu changed the annotations to be in proper CS - hope thats ok.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that is correct. its just tests, otherwise i would say those should be protected and not public.

dbu added a commit that referenced this pull request Jun 28, 2013
@dbu dbu merged commit 0a54685 into phpcr:master Jun 28, 2013
@dbu
Copy link
Member

dbu commented Jun 28, 2013

thanks, merged this. if you want to fix visibility of the properties to protected, please just do against master directly (or do you not have commit rights?)

@dantleech
Copy link
Member Author

I changed the visibility because we might want to access these properties from a closure - and I normally do not declare properties in tests, so they default to being public. So there is maybe a small "real" reason and another personal coding style creep :)

@dbu
Copy link
Member

dbu commented Jun 28, 2013

fine for me, i don't mind for the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants