Skip to content

Commit

Permalink
Fixed cloud executable binary + added missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jan 12, 2024
1 parent 0f20cd4 commit fbcf60a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bin/cloud
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env php
<?php

if (file_exists(__DIR__ . '/../../../../vendor/autoload.php')) {
if (file_exists(getcwd() . '/vendor/autoload.php')) {
require getcwd() . '/vendor/autoload.php';
} else if (file_exists(__DIR__ . '/../../../../vendor/autoload.php')) {
require __DIR__ . '/../../../../vendor/autoload.php';
} else if (file_exists(__DIR__ . '/../../../vendor/autoload.php')) {
require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"symfony/deprecation-contracts": "*",
"react/child-process": "^0.7",
"react/async": "^4.1",
"react/promise-timer": "^1.10"
"react/promise-timer": "^1.10",
"symfony/http-client": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
Expand All @@ -50,7 +51,6 @@
"rector/rector": "^0.15",
"php-etl/phpunit-extension": "0.7.*",
"mikey179/vfsstream": "^1.6",
"symfony/http-client": "^6.3",
"friendsofphp/php-cs-fixer": "^3.38"
},
"suggest": {
Expand Down

0 comments on commit fbcf60a

Please sign in to comment.