From 7854ea2582d2ac5766ff947eae603a73d7810790 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 11 Jan 2024 09:52:18 +0100 Subject: [PATCH] fix(ci): Readd php8.0 Signed-off-by: Marcel Klehr --- .github/workflows/phpunit-mysql.yml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml index 88df21a6..c3a8efa2 100644 --- a/.github/workflows/phpunit-mysql.yml +++ b/.github/workflows/phpunit-mysql.yml @@ -39,7 +39,7 @@ jobs: strategy: matrix: - php-versions: ['8.1', '8.2', '8.3'] + php-versions: ['8.0', '8.1', '8.2', '8.3'] server-versions: ['master', 'stable28'] services: diff --git a/composer.json b/composer.json index f80cf92b..fb612dee 100644 --- a/composer.json +++ b/composer.json @@ -23,12 +23,12 @@ "psalm": "psalm.phar", "test:unit": "phpunit --config tests/phpunit.xml", "post-install-cmd": [ - "@composer bin all install --ansi", + "@composer bin all install --ansi --ignore-platform-req=php", "grep -r 'OCA\\\\Recognize\\\\Rubix' ./vendor/rubix/ml/ || ( vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize' --output-dir=\".\" --working-dir=\"./vendor/rubix/ml/\" -f --config=\"../../../scoper.inc.php\" && sed -i 's:Rubix\\\\\\\\ML\\\\\\\\:OCA\\\\\\\\Recognize\\\\\\\\Rubix\\\\\\\\ML\\\\\\\\:' vendor/composer/installed.json )", "composer dump-autoload" ], "post-update-cmd": [ - "@composer bin all update --ansi", + "@composer bin all update --ansi --ignore-platform-req=php", "grep -r 'OCA\\\\Recognize\\\\Rubix' ./vendor/rubix/ml/ || ( vendor/bin/php-scoper add-prefix --prefix='OCA\\Recognize' --output-dir=\".\" --working-dir=\"./vendor/rubix/ml/\" -f --config=\"../../../scoper.inc.php\" && sed -i 's:Rubix\\\\\\\\ML\\\\\\\\:OCA\\\\\\\\Recognize\\\\\\\\Rubix\\\\\\\\ML\\\\\\\\:' vendor/composer/installed.json )", "composer dump-autoload" ]