Skip to content

Commit 724ad7f

Browse files
qunabuMateusz Wojczal
andauthored
feature/php82 (#16)
* feature/php82 * allow-plugins * SafeDirFix --------- Co-authored-by: Mateusz Wojczal <[email protected]>
1 parent bcc87c4 commit 724ad7f

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
phpunit-code-coverage:
1111
runs-on: ubuntu-latest
1212
container:
13-
image: escolalms/php:7.4
13+
image: escolalms/php:8.2
1414

1515
steps:
1616
- name: Instantiate package

.github/workflows/test-cc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
phpunit-code-coverage:
1414
runs-on: ubuntu-latest
1515
container:
16-
image: escolalms/php:7.4
16+
image: escolalms/php:8.2
1717

1818
services:
1919
mysql:
@@ -73,6 +73,9 @@ jobs:
7373
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
7474
chmod +x ./cc-test-reporter
7575
76+
- name: SafeDirFix
77+
run: git config --global safe.directory '*'
78+
7679
- name: Convert
7780
run: ./cc-test-reporter format-coverage coverage.xml -t clover -o codeclimate.0.json
7881

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
- name: Run tests
6060
run: vendor/bin/phpunit
6161

62-
php74-laravel-latest-phpunit-mysql:
62+
php82-laravel-latest-phpunit-mysql:
6363
runs-on: ubuntu-latest
6464
container:
65-
image: escolalms/php:7.4
65+
image: escolalms/php:8.2
6666

6767
services:
6868
mysql:
@@ -105,10 +105,10 @@ jobs:
105105
- name: Run tests
106106
run: vendor/bin/phpunit
107107

108-
php74-laravel-latest-phpunit-postgres:
108+
php82-laravel-latest-phpunit-postgres:
109109
runs-on: ubuntu-latest
110110
container:
111-
image: escolalms/php:7.4
111+
image: escolalms/php:8.2
112112

113113
services:
114114
postgres:

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
},
5353
"config": {
5454
"preferred-install": "dist",
55-
"sort-packages": true
55+
"sort-packages": true,
56+
"allow-plugins": {
57+
"php-http/discovery": true
58+
}
5659
},
5760
"minimum-stability": "dev",
5861
"prefer-stable": true

0 commit comments

Comments
 (0)