Skip to content

Commit

Permalink
Merge pull request #2 from weerd/updating-php-dependency
Browse files Browse the repository at this point in the history
Updating PHP dependency
  • Loading branch information
weerd authored Feb 15, 2021
2 parents f46f8aa + 0a26207 commit 40b26a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Check code style format
name: Code Style

on: [push, pull_request]

jobs:
style:
name: "PHP CS Fixer"
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
php: ['7.1', '7.3', '8.0']
name: "PHP CS Fixer - PHP v${{ matrix.php }}"

steps:
- name: Checkout code
Expand All @@ -14,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.1'
php-version: ${{ matrix.php }}
coverage: none

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^7.1.0",
"php": "^7.1|^8.0",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
Expand Down

0 comments on commit 40b26a5

Please sign in to comment.