Skip to content

Commit 5e5d1b7

Browse files
authored
Merge pull request #44 from rdohms/compat/php8
PHP8 / Composer 2 Compatibility
2 parents 2563d11 + a26f431 commit 5e5d1b7

File tree

8 files changed

+634
-402
lines changed

8 files changed

+634
-402
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
php: [8.*, 7.4, 7.3]
22+
php: [8.x, 7.4, 7.3]
2323
dependency-version: [prefer-lowest, prefer-stable]
2424

2525
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -34,7 +34,7 @@ jobs:
3434
php-version: ${{ matrix.php }}
3535
coverage: none
3636
tools: composer
37-
37+
3838
- name: Install dependencies
3939
run: |
4040
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "library",
55
"require": {
66
"phpunit/phpunit": "^9.0",
7-
"php": "^7.3|^8.0"
7+
"php": "^7.3|^7.4|^8.0",
8+
"dms/coding-standard": "^8"
89
},
910
"license": "MIT",
1011
"authors": [
@@ -14,7 +15,6 @@
1415
}
1516
],
1617
"require-dev": {
17-
"dms/coding-standard": "^1.0",
1818
"squizlabs/php_codesniffer": "^3.4"
1919
},
2020
"autoload": {

0 commit comments

Comments
 (0)