Skip to content

Commit

Permalink
Merge pull request #213 from acelaya-forks/feature/remove-swoole
Browse files Browse the repository at this point in the history
Drop support for openswoole
  • Loading branch information
acelaya authored Feb 16, 2024
2 parents 9f0d7e5 + af7e8be commit 2dee7db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
### Removed
* Remove config options related with webhooks.
* Remove config option to decode redis credentials.
* Remove support for openswoole.

### Fixed
* *Nothing*
Expand Down
1 change: 0 additions & 1 deletion src/Config/Option/Server/RuntimeConfigOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class RuntimeConfigOption extends BaseConfigOption
public const ENV_VAR = 'RUNTIME';
private const RUNTIMES = [
'RoadRunner' => RuntimeType::ASYNC,
'Openswoole' => RuntimeType::ASYNC,
'Classic web server (Nginx, Apache, etc)' => RuntimeType::REGULAR,
];

Expand Down
2 changes: 0 additions & 2 deletions test/Config/Option/Server/RuntimeConfigOptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function expectedQuestionIsAsked(string $answer, RuntimeType $expectedRun
. 'follow-up questions)',
[
'RoadRunner',
'Openswoole',
'Classic web server (Nginx, Apache, etc)',
],
'RoadRunner',
Expand All @@ -49,7 +48,6 @@ public function expectedQuestionIsAsked(string $answer, RuntimeType $expectedRun
public static function provideRuntimes(): iterable
{
yield 'RoadRunner' => ['RoadRunner', RuntimeType::ASYNC];
yield 'Openswoole' => ['Openswoole', RuntimeType::ASYNC];
yield 'Classic web server' => ['Classic web server (Nginx, Apache, etc)', RuntimeType::REGULAR];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static function provideInvalidValues(): iterable
}

#[Test, DataProvider('provideCurrentOptions')]
public function shouldBeAskedWhenNotPresentAndSwooleIsInstalled(
public function shouldBeAskedWhenNotPresentAndRuntimeIsAsync(
array $currentOptions,
bool $expected,
): void {
Expand Down

0 comments on commit 2dee7db

Please sign in to comment.