Skip to content

Commit

Permalink
Merge pull request #312 from vtsykun/php8.4-docker
Browse files Browse the repository at this point in the history
Support PHP 8.4 in docker
  • Loading branch information
vtsykun authored Jan 24, 2025
2 parents a4b4c90 + 5cd1185 commit 8d1d922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3-fpm-alpine
FROM php:8.4-fpm-alpine

RUN apk --no-cache add nginx curl runit subversion \
git bash openssh-client zip unzip redis shadow && \
Expand Down
6 changes: 3 additions & 3 deletions docker/supervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ protected function writeln(string $msg): void
echo (new \DateTime('now'))->format('Y-m-d H:i:s.u') . " $msg\n";
}

protected function loadConfiguration(string $file = null): array
protected function loadConfiguration(?string $file = null): array
{
$file ??= $this->configPath;
if (!file_exists($file) || !is_readable($file)) {
Expand Down Expand Up @@ -293,7 +293,7 @@ protected function loadConfiguration(string $file = null): array
* @param array|null $configs
* @return Task[]
*/
protected function loadTasks(array $configs = null): array
protected function loadTasks(?array $configs = null): array
{
$tasks = [];
$configs ??= $this->loadConfiguration();
Expand Down Expand Up @@ -335,7 +335,7 @@ protected function loadTasks(array $configs = null): array
* @param array|null $tasks
* @return Task[]
*/
protected function prepareTasks(array $tasks = null): array
protected function prepareTasks(?array $tasks = null): array
{
$tasks ??= $this->loadTasks();

Expand Down

0 comments on commit 8d1d922

Please sign in to comment.