Skip to content

Fix invalid visibility - #75

Open
et-nik wants to merge 2 commits into
thephpleague:masterfrom
et-nik:hotfix/get-visibility
Open

Fix invalid visibility#75
et-nik wants to merge 2 commits into
thephpleague:masterfrom
et-nik:hotfix/get-visibility

Conversation

@et-nik

@et-nik et-nik commented Nov 8, 2018

Copy link
Copy Markdown

getVisibility() always gets public. If set visibility as private and call getVisibility(), this return public value.

I added test to check this et-nik@272492d

After that tests has failed:
https://travis-ci.com/et-nik/flysystem-sftp/jobs/157303997#L566

I fixed visibility checking and added 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.

1 participant