Skip to content

Commit

Permalink
Composer 2.3 isn't compatible with wallabag
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Apr 1, 2022
1 parent 287eba0 commit fea2b46
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translations.yml
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -34,6 +34,7 @@
},
"require": {
"php": ">=7.2.5",
"composer": "< 2.3",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
Expand Down
3 changes: 2 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions var/SymfonyRequirements.php
Expand Up @@ -455,6 +455,12 @@ public function __construct()
);
}

$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',
Expand Down

0 comments on commit fea2b46

Please sign in to comment.