Skip to content

Commit a6170e0

Browse files
authored
Merge pull request #50 from php-school/terminal-cleanup
Remove windows terminal and require posix
2 parents 979bfeb + fb8a9d2 commit a6170e0

File tree

3 files changed

+2
-191
lines changed

3 files changed

+2
-191
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
},
2020
"require": {
2121
"php" : ">=5.6",
22-
"beberlei/assert": "^2.4"
22+
"beberlei/assert": "^2.4",
23+
"ext-posix": "*"
2324
},
2425
"autoload" : {
2526
"psr-4" : {

src/Terminal/TerminalFactory.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ class TerminalFactory
1515
*/
1616
public static function fromSystem()
1717
{
18-
if (DIRECTORY_SEPARATOR == '\\') {
19-
return new WindowsTerminal();
20-
}
21-
2218
return new UnixTerminal();
2319
}
2420
}

src/Terminal/WindowsTerminal.php

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)