Skip to content

Commit 946ad5b

Browse files
committed
Merge branch 'release/1.1.0' Close #2
2 parents 4741acf + 2b59dbb commit 946ad5b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ We had a similar challenge, specifically accessing a MySQL database over an SSH
1111

1212
So we wrote this package. We hope you enjoy it!
1313

14+
## Requirements
15+
This package has been tested against Laravel/Lumen versions 5.2. 5.3, and 5.4.
16+
17+
We do not support version <=5.1.
18+
1419
## Installation
20+
1521
```
1622
composer require stechstudio/laravel-ssh-tunnel
1723
```

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@
2626
}
2727
],
2828
"minimum-stability": "dev",
29-
"require": {}
29+
"require": {
30+
"illuminate/support": "5.2.x|5.3.x|5.4.x"
31+
}
3032
}

src/Jobs/CreateTunnel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function createTunnel()
7373
* Verifies whether the tunnel is active or not.
7474
* @return bool
7575
*/
76-
protected function verifyTunnel(): bool
76+
protected function verifyTunnel()
7777
{
7878
return $this->runCommand($this->ncCommand);
7979
}
@@ -83,7 +83,7 @@ protected function verifyTunnel(): bool
8383
* @param $command
8484
* @return bool
8585
*/
86-
protected function runCommand($command): bool
86+
protected function runCommand($command)
8787
{
8888
$return_var = 1;
8989
exec($command, $this->output, $return_var);

0 commit comments

Comments
 (0)