Skip to content

Commit cd41168

Browse files
authored
Dumper CLI mode detection fixed (#48)
1 parent 062c5c4 commit cd41168

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
66

7+
## v5.0.2
8+
9+
### Fixed
10+
11+
- Dumper CLI mode detection [#47]
12+
13+
[#47]:https://github.com/spiral/roadrunner-laravel/pull/47
14+
715
## v5.0.1
816

917
### Fixed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ Simple `.rr.yaml` config example ([full example can be found here][roadrunner_co
7474
> For `windows` path must be full (eg.: `php vendor/spiral/roadrunner-laravel/bin/rr-worker start`)
7575
7676
```yaml
77-
rpc:
78-
listen: tcp://127.0.0.1:6001
79-
8077
server:
8178
command: "php ./vendor/bin/rr-worker start --relay-dsn unix:///var/run/rr-relay.sock"
8279
relay: "unix:///var/run/rr-relay.sock"

src/Dumper/Dumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function dd(...$vars)
102102
protected function ranUsingCLI(): bool
103103
{
104104
/** @link https://roadrunner.dev/docs/php-environment */
105-
if (Env::get('RR_MODE') !== null && Env::get('RR_RPC') !== null && Env::get('RR_RELAY') !== null) {
105+
if (Env::get('RR_MODE') !== null && Env::get('RR_RELAY') !== null) {
106106
return false;
107107
}
108108

0 commit comments

Comments
 (0)