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 FileUtil::getUserHomeDir on Mac #165

Merged
merged 1 commit into from Dec 4, 2014
Merged

Commits on Nov 12, 2014

  1. Fix FileUtil::getUserHomeDir on Mac

    getUserHomeDir of PDepend\Util\FileUtil is using stripos(PHP_OS, 'win')
    for judgment of Windows system.
    But it is not right, because PHP_OS on Mac is 'Darwin'.
    
    % php -r 'var_dump(PHP_OS);'
    string(6) "Darwin"
    monmon committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    4826c3f View commit details
    Browse the repository at this point in the history