Skip to content

Commit 154195c

Browse files
committed
Update PHP version to 8.0
1 parent b9d0169 commit 154195c

File tree

5 files changed

+15
-1550
lines changed

5 files changed

+15
-1550
lines changed

.github/workflows/phpunit.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.2'
17-
18-
- name: Validate composer.json and composer.lock
19-
run: composer validate
16+
php-version: '8.0'
2017

2118
- name: Install dependencies
2219
run: composer install --prefer-dist --no-progress --no-suggest

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/vendor
2+
composer.lock
23

4+
.idea
35
*.bak
46

57
.phpunit.result.cache

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
}
2424
},
2525
"require": {
26-
"php": "^7.2"
26+
"php": ">=8.0"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "^8.5"
29+
"phpunit/phpunit": "9.5"
3030
},
3131
"scripts": {
3232
"test": "phpunit"
3333
}
34-
}
34+
}

0 commit comments

Comments
 (0)