Skip to content

Conversation

@Nyholm
Copy link
Member

@Nyholm Nyholm commented Dec 22, 2016

No description provided.

@Nyholm
Copy link
Member Author

Nyholm commented Dec 22, 2016

Ping @GreenSuslik have you tested your patch? Does it work for you?

@GreenSuslik
Copy link
Contributor

@Nyholm Yep it's work, basename return bad name

@Nyholm
Copy link
Member Author

Nyholm commented Dec 22, 2016

Yep it's work, basename return bad name

But so does pathname... I cannot write tests that confirms the bug and that pathname fixes... However, I rewrote your PR into this PR. Does this PR also work for you?

*
* @return string
*/
private function basename($path)
Copy link
Member Author

Choose a reason for hiding this comment

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

Ping @sagikazarmark and @dbu

Is this function overkill or is it the way to go if we want to be independent of the locale?

Copy link
Contributor

Choose a reason for hiding this comment

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

quite horrible that php does not provide something that "just works" but it does look correct to me, so i guess lets go with this.

@GreenSuslik
Copy link
Contributor

Yes, PR #20 work for me

@Nyholm Nyholm merged commit 1f58220 into master Dec 22, 2016
@Nyholm Nyholm deleted the appveyor branch December 22, 2016 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants