fix: remove php8.5-pcntl and php8.5-sodium from workflow installations

- pcntl and sodium are built-in in PHP 8.5, no separate packages needed
- These extensions are part of php8.5-cli/core and don't need separate installation
- Fixes 'Unable to locate package' errors in workflow setup
This commit is contained in:
2025-10-31 04:02:35 +01:00
parent 5a19b52306
commit afda60b7fd
2 changed files with 2 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ jobs:
apt-get update apt-get update
# Install PHP 8.5 (matches composer.json requirement ^8.5 and Dockerfiles) # Install PHP 8.5 (matches composer.json requirement ^8.5 and Dockerfiles)
# Note: pcntl and sodium are built-in in PHP 8.5, no separate packages needed
apt-get install -y \ apt-get install -y \
php8.5 \ php8.5 \
php8.5-cli \ php8.5-cli \
@@ -74,7 +75,6 @@ jobs:
php8.5-zip \ php8.5-zip \
php8.5-gd \ php8.5-gd \
php8.5-intl \ php8.5-intl \
php8.5-sodium \
php8.5-bcmath \ php8.5-bcmath \
php8.5-redis \ php8.5-redis \
composer composer

View File

@@ -52,6 +52,7 @@ jobs:
apt-get update apt-get update
# Install PHP 8.5 (matches composer.json requirement ^8.5 and Dockerfiles) # Install PHP 8.5 (matches composer.json requirement ^8.5 and Dockerfiles)
# Note: pcntl and sodium are built-in in PHP 8.5, no separate packages needed
apt-get install -y \ apt-get install -y \
php8.5 \ php8.5 \
php8.5-cli \ php8.5-cli \
@@ -60,7 +61,6 @@ jobs:
php8.5-xml \ php8.5-xml \
php8.5-mbstring \ php8.5-mbstring \
php8.5-zip \ php8.5-zip \
php8.5-pcntl \
php8.5-pdo \ php8.5-pdo \
php8.5-pdo-sqlite \ php8.5-pdo-sqlite \
php8.5-bcmath \ php8.5-bcmath \
@@ -69,7 +69,6 @@ jobs:
php8.5-gd \ php8.5-gd \
php8.5-exif \ php8.5-exif \
php8.5-iconv \ php8.5-iconv \
php8.5-sodium \
composer composer
- name: Validate composer.json and composer.lock - name: Validate composer.json and composer.lock