Skip to content
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 docker-compose.yml.dev
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
command: '-m 128'

php-fpm:
image: hiqdev/php:8.3-fpm-alpine
image: hiqdev/php:8.5-fpm-alpine

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the hiqdev/php:8.5-fpm-alpine Docker image exists on Docker Hub

# Check if the image exists and get its metadata
curl -s "https://hub.docker.com/v2/repositories/hiqdev/php/tags/8.5-fpm-alpine" | jq '{name: .name, last_updated: .last_updated, images: .images | length}'

# Also check what tags are available for hiqdev/php
curl -s "https://hub.docker.com/v2/repositories/hiqdev/php/tags?page_size=100" | jq '.results[] | select(.name | contains("8.")) | {name: .name, last_updated: .last_updated}' | head -20

Repository: hiqdev/hipanel-core

Length of output: 556


🌐 Web query:

Has PHP 8.5 been officially released and what is its release date?

💡 Result:

Yes, PHP 8.5 has been officially released. It was released on November 20, 2025 [1][2][3].

Citations:


🌐 Web query:

What are the breaking changes and new features in PHP 8.5?

💡 Result:

Breaking changes / backward-compatibility breaks in PHP 8.5 (focused on what PHP explicitly flags as incompatibilities or warnings/deprecations) 1) Removed - The disable_classes INI setting has been removed (it “causes various engine assumptions to be broken”) [1]. 2) Deprecated (and in some cases become warnings/errors in later versions) - Backtick operator as an alias for shell_exec is deprecated [1]. - Non-canonical cast names (boolean, integer, double, binary) are deprecated; use (bool), (int), (float), and (string) instead [1]. - Terminating case statements with a semicolon instead of a colon is deprecated [1]. - Using null as an array offset and in array_key_exists is deprecated; use an empty string instead [1]. - class_alias can no longer use "array" and "callable" as class alias names [1]. - sleep and wakeup are soft-deprecated (use serialize and unserialize) [1]. - Casting NAN to other types now emits a warning [1]. - Destructuring non-array values (other than null) using [] or list now emits a warning [1]. - Casting floats (or float-like strings) to int when the value can’t be represented as one now emits a warning [1]. 3) Additional incompatibilities called out in the official Upgrading guide (examples) - It is no longer possible to use "array" and "callable" as class alias names in class_alias [2]. New features in PHP 8.5 1) URI extension (built-in URL handling) - PHP 8.5 includes a built-in “URI” extension to parse, normalize, and handle URLs following RFC 3986 and WHATWG URL standards [1][3]. 2) Pipe operator: |> - PHP 8.5 adds the pipe (|>) operator for chaining callables left-to-right [4][3]. 3) Clone-with syntax - PHP 8.5 adds the ability to “clone with” property updates (e.g., supporting the “with-er” pattern for readonly classes) [1][3]. 4) #[\NoDiscard] attribute - PHP 8.5 introduces the #[\NoDiscard] attribute [5][3]. 5) Closures and first-class callables in constant expressions - PHP 8.5 supports using closures and first-class callables in constant expressions (including as attribute parameters) [4][3]. 6) PHP 8.5 feature list details (from the migration “new features” page) - The migration guide’s “New Features” page lists, among other items: the pipe operator (|>), closure/first-class callable support in constant expressions, #[\NoDiscard], and additional changes such as curl/EXIF-related additions [4]. Sources: PHP 8.5 release announcement + official migration guides and RFC/upgrade notes [1][4][3][6][2].

Citations:


Confirm PHP 8.5 image/tag and focus on PHP 8.3→8.5 compatibility testing.

  • docker-compose.yml.dev line 29 (image: hiqdev/php:8.5-fpm-alpine) exists on Docker Hub (tag 8.5-fpm-alpine, last updated 2026-04-22, 2 images), so the “tag missing” risk is addressed.
  • PHP 8.5 is officially released (Nov 20, 2025), but a PHP 8.3→8.5 upgrade can still break runtime behavior—review the documented BC breaks (e.g., removed disable_classes INI; deprecated backtick alias for shell_exec; deprecated non-canonical cast names; other deprecations/incompatibilities called out in the 8.5 upgrading guide) and ensure the application is tested under PHP 8.5 (CI/tests/linting as applicable).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docker-compose.yml.dev` at line 29, Update the docker-compose reference and
CI to explicitly validate PHP 8.5 compatibility: confirm the image tag used in
docker-compose.yml.dev (the image: hiqdev/php:8.5-fpm-alpine entry) is correct
and, if desired, pin to a specific digest to avoid silent drift; add CI matrix
entries or a dedicated workflow step to run unit/integration tests and static
analysis against PHP 8.5 (in your repo’s CI config referencing the same
hiqdev/php:8.5-fpm-alpine image), and run deprecation/lint checks that catch
8.3→8.5 BC changes (search for occurrences of disable_classes, backtick
shell_exec usage, non-canonical casts, etc.) and fix or add tests for any
failing areas.

volumes:
- ./:/app
- ./.docker/php/var/log/php:/var/log/php
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml.local
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

services:
selenium:
image: selenium/standalone-chrome:latest
Expand Down Expand Up @@ -38,7 +36,7 @@ services:
command: '-m 128'

php-fpm:
image: hiqdev/php:8.3-fpm-alpine
image: hiqdev/php:8.5-fpm-alpine
volumes:
- ./:/app
- ./.docker/php/var/log/php:/var/log/php
Expand Down
Loading