gocodebox / gocodebox/lifterlms-tests

PHPUnit tests with @runInSeparateProcess fail with PHP 8.0 and Windows

Open
#8 5 comments 0 reactions 1 assignee Claimed by @thomasplevy View on GitHub
Dominant language
PHP
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Reproduction Steps

The LifterLMS unit tests that use the `@runInSeparateProcess` annotation return an error and are not tested when run with PHP 8.0 and Windows 10.

The tests are successful if run with PHP 7.2 or the `@runInSeparateProcess` annotation is removed.

### Expected Behavior

The tests pass.

### Actual Behavior

The tests fail with a "The filename, directory name, or volume label syntax is incorrect." message.

### Error Messages / Logs

"The filename, directory name, or volume label syntax is incorrect."

This issue has been recreated:
+ [X] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [ ] With only LifterLMS and a default theme

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.