8000 The supporting of windows · Issue #18 · badoo/soft-mocks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The supporting of windows #18
Open
@zymanch

Description

@zymanch

Currently this lib not work in windows, because:
1)
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
define('SOFTMOCKS_ROOT_PATH', '');
} else {
define('SOFTMOCKS_ROOT_PATH', '/');
}
2)
\QA\SoftMocks::doRewrite
$delimiter = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? ';' : ':');
foreach (explode($delimiter, get_include_path()) as $dir) {

possible, there is more issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0