From 46632201ac8904b8bd018fbb3ed7f7ea5a741fd7 Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Mon, 24 Apr 2023 14:09:27 +0200 Subject: [PATCH] feature/php82 (#17) * feature/php82 * allow-plugins * SafeDirFix * Update composer.json --------- Co-authored-by: Mateusz Wojczal Co-authored-by: Tomasz Smolarek <59400506+dyfero@users.noreply.github.com> --- .github/workflows/test-cc.yml | 3 +++ composer.json | 7 ++++++- env/docker-compose.yml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-cc.yml b/.github/workflows/test-cc.yml index cd4eeb6..3b4bed8 100644 --- a/.github/workflows/test-cc.yml +++ b/.github/workflows/test-cc.yml @@ -57,6 +57,9 @@ jobs: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter + - name: SafeDirFix + run: git config --global safe.directory '*' + - name: Convert run: ./cc-test-reporter format-coverage coverage.xml -t clover -o codeclimate.0.json diff --git a/composer.json b/composer.json index 572c57a..2890800 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,8 @@ "require-dev": { "escolalms/auth": "^0", "escolalms/consultations": "^0", + "escolalms/courses": "^0.4", + "escolalms/cart": "^0", "orchestra/testbench": "^5.0|^6.0", "phpunit/phpunit": "^9.0" }, @@ -46,7 +48,10 @@ "config": { "optimize-autoloader": false, "preferred-install": "dist", - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "php-http/discovery": true + } }, "minimum-stability": "dev", "prefer-stable": true diff --git a/env/docker-compose.yml b/env/docker-compose.yml index 98448bf..246fdef 100644 --- a/env/docker-compose.yml +++ b/env/docker-compose.yml @@ -5,7 +5,7 @@ networks: driver: bridge services: escola_lms_app74: - image: escolalms/php:7.4 + image: escolalms/php:8.2 command: bash -c "php-fpm -F" volumes: - ./../:/var/www/html