Skip to content

up one php to 8.1 #7785

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 6 commits into from
Dec 15, 2022
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
5 changes: 5 additions & 0 deletions frameworks/PHP/one/App/Model/Fortune.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ class Fortune extends Model
protected $_pri_key = 'id';

protected $_cache_time = 0;

public int $id;

public string $message;

}
5 changes: 5 additions & 0 deletions frameworks/PHP/one/App/Model/World.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ class World extends Model
protected $_pri_key = 'id';

protected $_cache_time = 0;

public int $id;

public int $randomNumber;

}
2 changes: 1 addition & 1 deletion frameworks/PHP/one/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": ">=7.1.0",
"lizhichao/one": ">=2.0.1",
"lizhichao/one": ">=2.3.1",
"ext-json": "*"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/one/one-no-coroutine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-cli
FROM php:8.2-cli

RUN pecl install swoole-4.8.11 > /dev/null && \
docker-php-ext-enable swoole
Expand Down
2 changes: 1 addition & 1 deletion frameworks/PHP/one/one.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-cli
FROM php:8.2-cli

RUN pecl install swoole-4.8.11 > /dev/null && \
docker-php-ext-enable swoole
Expand Down