Skip to content

Commit fbcf60a

Browse files
committed
Fixed cloud executable binary + added missing dependencies
1 parent 0f20cd4 commit fbcf60a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bin/cloud

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env php
22
<?php
33

4-
if (file_exists(__DIR__ . '/../../../../vendor/autoload.php')) {
4+
if (file_exists(getcwd() . '/vendor/autoload.php')) {
5+
require getcwd() . '/vendor/autoload.php';
6+
} else if (file_exists(__DIR__ . '/../../../../vendor/autoload.php')) {
57
require __DIR__ . '/../../../../vendor/autoload.php';
68
} else if (file_exists(__DIR__ . '/../../../vendor/autoload.php')) {
79
require __DIR__ . '/../../../vendor/autoload.php';

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"symfony/deprecation-contracts": "*",
3838
"react/child-process": "^0.7",
3939
"react/async": "^4.1",
40-
"react/promise-timer": "^1.10"
40+
"react/promise-timer": "^1.10",
41+
"symfony/http-client": "^6.0"
4142
},
4243
"require-dev": {
4344
"phpunit/phpunit": "^10.0",
@@ -50,7 +51,6 @@
5051
"rector/rector": "^0.15",
5152
"php-etl/phpunit-extension": "0.7.*",
5253
"mikey179/vfsstream": "^1.6",
53-
"symfony/http-client": "^6.3",
5454
"friendsofphp/php-cs-fixer": "^3.38"
5555
},
5656
"suggest": {

0 commit comments

Comments
 (0)