Skip to content

[php] Openswoole update to PHP 8.3 #8595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/PHP/openswoole/openswoole-no-async.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli
FROM php:8.3-cli

RUN apt-get update && apt-get install -y git > /dev/null

Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/openswoole/openswoole-server-mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
*
* @return string
*/
$updates_mysql = function (int $queries = 0, $pool): string {
$updates_mysql = function (int $queries, $pool): string {
$db = $pool->get();

$query_count = 1;
Expand Down
4 changes: 2 additions & 2 deletions frameworks/PHP/openswoole/openswoole-server-postgres.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*
* @return string
*/
$db_postgres = function (int $queries = 0, $pool): string {
$db_postgres = function (int $queries, $pool): string {
$db = $pool->get();
// Read number of queries to run from URL parameter
$query_count = 1;
Expand Down Expand Up @@ -116,7 +116,7 @@
*
* @return string
*/
$updates_postgres = function (int $queries = 0, $pool): string {
$updates_postgres = function (int $queries, $pool): string {
$db = $pool->get();

$query_count = 1;
Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/openswoole/openswoole.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli
FROM php:8.3-cli

RUN apt-get update && apt-get install -y git > /dev/null

Expand Down