Skip to content

Commit 40b26a5

Browse files
authored
Merge pull request #2 from weerd/updating-php-dependency
Updating PHP dependency
2 parents f46f8aa + 0a26207 commit 40b26a5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/format.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: Check code style format
1+
name: Code Style
22

33
on: [push, pull_request]
44

55
jobs:
66
style:
7-
name: "PHP CS Fixer"
8-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: ['ubuntu-latest']
11+
php: ['7.1', '7.3', '8.0']
12+
name: "PHP CS Fixer - PHP v${{ matrix.php }}"
913

1014
steps:
1115
- name: Checkout code
@@ -14,7 +18,7 @@ jobs:
1418
- name: Setup PHP
1519
uses: shivammathur/setup-php@v2
1620
with:
17-
php-version: '7.1'
21+
php-version: ${{ matrix.php }}
1822
coverage: none
1923

2024
- name: Install dependencies

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.1.0",
13+
"php": "^7.1|^8.0",
1414
"friendsofphp/php-cs-fixer": "^2.16"
1515
},
1616
"autoload": {

0 commit comments

Comments
 (0)