Skip to content

Commit

Permalink
DEP Upgrade installer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Oct 26, 2022
1 parent e56c39a commit 465d6b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Server
/**
* The command to initiate the server
*
* @var string
* @var array
*/
private $command;

Expand Down
2 changes: 1 addition & 1 deletion code/ServerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function launchServer($options)
$command = "SERVE_BOOTSTRAP_FILE=" . escapeshellarg($options['bootstrapFile'] ?? '') . " $command";
}

$server = new Server($command, $host, $port);
$server = new Server([ $command ], $host, $port);
$server->start();

return $server;
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"license": "MIT",
"require": {
"php": "^8.1",
"symfony/process": "^4.0",
"symfony/process": "^6.1.3",
"silverstripe/framework": "^5"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3"
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
Expand All @@ -24,4 +24,4 @@
"scripts": {
"lint": "vendor/bin/phpcs --standard=PSR2 code/ bin/ tests/"
}
}
}

0 comments on commit 465d6b2

Please sign in to comment.