Composer 2.3 isn't compatible with wallabag

This commit is contained in:
Jeremy Benoist 2022-04-01 16:09:59 +02:00
parent 287eba084a
commit fea2b46496
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
6 changed files with 12 additions and 4 deletions

View file

@ -21,7 +21,7 @@ jobs:
with:
coverage: "none"
php-version: "7.4"
tools: cs2pr, pecl, composer:v2
tools: cs2pr, pecl, composer:2.2
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
ini-values: "date.timezone=Europe/Paris"
env:

View file

@ -50,7 +50,7 @@ jobs:
with:
php-version: "${{ matrix.php }}"
coverage: none
tools: pecl, composer:v2
tools: pecl, composer:2.2
extensions: json, pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
ini-values: "date.timezone=Europe/Paris"

View file

@ -26,7 +26,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php }}"
tools: pecl, composer:v2
tools: pecl, composer:2.2
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
ini-values: "date.timezone=Europe/Paris"
env:

View file

@ -34,6 +34,7 @@
},
"require": {
"php": ">=7.2.5",
"composer": "< 2.3",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",

3
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "bc4de754a149aefb830b843e23cdbaff",
"content-hash": "3db24875e7ef009b7598c36bafac8a3a",
"packages": [
{
"name": "babdev/pagerfanta-bundle",
@ -12924,6 +12924,7 @@
"prefer-lowest": false,
"platform": {
"php": ">=7.2.5",
"composer": "< 2.3",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",

View file

@ -455,6 +455,12 @@ class SymfonyRequirements extends RequirementCollection
);
}
$this->addRequirement(
function_exists('iconv'),
'iconv() must be available',
'Install and enable the <strong>iconv</strong> extension.'
);
$this->addRequirement(
function_exists('json_encode'),
'json_encode() must be available',