chore: prepare for introduction of php-webdriver/webdriver (Selenium) (#3975)

This commit is contained in:
Dag 2024-02-09 22:51:10 +01:00 committed by GitHub
parent df7b91a2a3
commit ff7840d60f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,7 @@
"squizlabs/php_codesniffer": "^3.6" "squizlabs/php_codesniffer": "^3.6"
}, },
"suggest": { "suggest": {
"php-webdriver/webdriver": "Required for Selenium usage",
"ext-memcached": "Allows to use memcached as cache type", "ext-memcached": "Allows to use memcached as cache type",
"ext-sqlite3": "Allows to use an SQLite database for caching", "ext-sqlite3": "Allows to use an SQLite database for caching",
"ext-zip": "Required for FDroidRepoBridge", "ext-zip": "Required for FDroidRepoBridge",

View File

@ -1,5 +1,9 @@
<?php <?php
if (is_file(__DIR__ . '/../vendor/autoload.php')) {
require __DIR__ . '/../vendor/autoload.php';
}
const PATH_LIB_CACHES = __DIR__ . '/../caches/'; const PATH_LIB_CACHES = __DIR__ . '/../caches/';
const PATH_CACHE = __DIR__ . '/../cache/'; const PATH_CACHE = __DIR__ . '/../cache/';