Skip to content

Commit 882f9ca

Browse files
authored
Merge pull request #4 from Micro-PHP/1.6.2
v1.6.2 implements roadrunner
2 parents 21a9ca5 + 546219e commit 882f9ca

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/Facade/ConsoleApplicationFacade.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ public function __construct(
2020
) {
2121
}
2222

23-
/**
24-
* {@inheritDoc}
25-
*/
2623
public function run(): int
2724
{
2825
return $this->consoleApplicationFactory

src/Listener/ApplicationStartEventListener.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,13 @@ public function __construct(
3030
*/
3131
public function on(EventInterface $event): void
3232
{
33-
if ('cli' !== $event->systemEnvironment()) {
33+
if ('cli' !== $event->systemEnvironment() || \array_key_exists('RR_MODE', $_ENV)) {
3434
return;
3535
}
3636

3737
$this->consoleApplicationFacade->run();
3838
}
3939

40-
/**
41-
* {@inheritDoc}
42-
*/
4340
public static function supports(EventInterface $event): bool
4441
{
4542
return $event instanceof ApplicationReadyEventInterface;

0 commit comments

Comments
 (0)