Skip to content

Commit

Permalink
feature/php82 (#17)
Browse files Browse the repository at this point in the history
* feature/php82

* allow-plugins

* SafeDirFix

* Update composer.json

---------

Co-authored-by: Mateusz Wojczal <mateusz@wojczal.com>
Co-authored-by: Tomasz Smolarek <59400506+dyfero@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 24, 2023
1 parent f3597e2 commit 4663220
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4663220

Please sign in to comment.