hamcrest-php icon indicating copy to clipboard operation
hamcrest-php copied to clipboard

Adding file matchers

Open vasekbrychta opened this issue 4 years ago • 2 comments

I'm sending first draft of IsExistingDirectory and IsExistingFile matchers. Please review the code and let me know if this structure is ok for you. I'll then create the rest of file matchers in a similar fashion and I'll update this pull request.

vasekbrychta avatar Aug 23 '21 21:08 vasekbrychta

What do you think @aik099?

vasekbrychta avatar Aug 31 '21 23:08 vasekbrychta

Took me a bit longer, but it should be finally done.

I haven't included a matcher for absolute path because there's no easy way to get the absolute path that wouldn't be canonical in php.

vasekbrychta avatar Jun 06 '22 14:06 vasekbrychta