Skip to content
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

Fix Files::clean and Directory::clean return to early if failing to find a tag #17

Closed
wants to merge 3 commits into from

Conversation

melloc01
Copy link

Directory adapter to continue trying to clean all tags instead of returning on the first miss

@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage increased (+0.0004%) to 99.903% when pulling f64a8b5 on melloc01:directory-file-adapters-fix into 81bd29b on frqnck:master.

@melloc01 melloc01 changed the title Directory returns when fails to find the a key within a tag Directory returns when fails to find a key within a tag Jul 21, 2016
@melloc01 melloc01 changed the title Directory returns when fails to find a key within a tag File and Directory Adapters @clean returns when fails to find a key within a tag Jul 21, 2016
@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage increased (+0.0004%) to 99.903% when pulling f64a8b5 on melloc01:directory-file-adapters-fix into 81bd29b on frqnck:master.

@frqnck
Copy link
Member

frqnck commented Jul 27, 2016

Hi @melloc01, hanks for pointing this out. Your fix make sense.

Do you see that specific issue when running phpunit tests/FilesTest.php (or phpunit tests/DirectoryTest.php)? If not, could you also add a test that does.

@frqnck frqnck added the bug label Jul 27, 2016
@melloc01
Copy link
Author

Sure @frqnck, will do! = ]

@frqnck
Copy link
Member

frqnck commented Aug 19, 2016

Hi @melloc01, hope you are well.

What is the status with your PR? Are you able to provide a test demonstrating the issue fixed by your PR?

@melloc01
Copy link
Author

Hi @frqnck, I am, thanks, hope you are too : ] A big project started on the company, sorry about delaying it so much, will take a look at it on this weekend

@frqnck
Copy link
Member

frqnck commented Oct 28, 2016

PR #24 implements tests to support this PR. Closing this one down.

@frqnck frqnck closed this Oct 28, 2016
@frqnck frqnck changed the title File and Directory Adapters @clean returns when fails to find a key within a tag Files::clean and Directory:clean return to early if failing to find a tag Oct 28, 2016
@frqnck frqnck changed the title Files::clean and Directory:clean return to early if failing to find a tag Fix Files::clean and Directory::clean return to early if failing to find a tag Oct 28, 2016
frqnck added a commit that referenced this pull request Oct 28, 2016
…to find a tag -- with supporting tests (#24)

* Directory adapter to continue instead of returning when fails to find keys inside a tag

* Directory & File adapters to try clean all tags instead of returning on the first empty tag

* File Adapter@clean | fixing return value

* Adds a regression tests for pull request GH#17 (#17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants