From c63860eb1af3ba0f30c1a1f8070108c80c6aac76 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Mon, 24 Apr 2023 14:48:18 +0800 Subject: [PATCH] Add sqlite3 as a requirement in composer.json Also add it to CI because not all images include it by default. Fixes #60 --- .github/workflows/ci.yml | 2 +- composer.json | 1 + composer.lock | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a75d98e..3132802 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{matrix.php}} - extensions: fileinfo, json, pdo, mbstring, gd, ast + extensions: fileinfo, json, pdo, mbstring, gd, ast, sqlite3 - name: Install run: | diff --git a/composer.json b/composer.json index 19a4e8e..a32de35 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,7 @@ "require": { "ext-json": "*", "ext-pdo": "*", + "ext-sqlite3": "*", "addwiki/mediawiki-api-base": "^2.7", "endroid/qr-code": "^4.1", "getdkan/lunr.php": "^1.0", diff --git a/composer.lock b/composer.lock index dd531a1..b61fa68 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "ec3a4d4c7861135cbde96b202198f5b2", + "content-hash": "2ea5b390de1941f63bc0122e66f39b0c", "packages": [ { "name": "addwiki/mediawiki-api-base", @@ -6788,7 +6788,8 @@ "prefer-lowest": false, "platform": { "ext-json": "*", - "ext-pdo": "*" + "ext-pdo": "*", + "ext-sqlite3": "*" }, "platform-dev": [], "platform-overrides": {