Skip to content

Move the check on the OS to the Factory #23

@Baptouuuu

Description

@Baptouuuu

Currently an access is made on PHP_OS constant inside the Stat implementation. This pauses problems when mocking the Server in a test suite as the commands being run changes.

The OS should be determined in the Factory, at build time instead of runtime.

Metadata

Metadata

Assignees

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