Skip to content

Commit

Permalink
feat: support PHP 8 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
cawolf authored Dec 15, 2021
1 parent 1e631cb commit ebcd7a1
Show file tree
Hide file tree
Showing 6 changed files with 178 additions and 104 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: '7.3'
symfony: '3.4.*'
- php: '7.4'
symfony: '3.4.*'
- php: '7.3'
symfony: '4.4.*'
- php: '7.4'
symfony: '4.4.*'
- php: '7.3'
symfony: '5.3.*'
- php: '7.4'
symfony: '5.3.*'
symfony:
- '3.4.*'
- '4.4.*'
- '5.3.*'
php:
- '7.4'
- '8.0'
- '8.1'
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup php
uses: nanasess/setup-php@v3.0.6
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: prepare test environment
Expand Down Expand Up @@ -73,13 +68,17 @@ jobs:
- '3.4.*'
- '4.4.*'
- '5.3.*'
php:
- '7.4'
- '8.0'
- '8.1'
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup php
uses: nanasess/setup-php@v3.0.6
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: ${{ matrix.php }}
- name: prepare test environment
run: |
Tests/Functional/Scripts/downloadComposer.sh
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing

Please have a look at [the core library](https://github.com/auxmoney/OpentracingBundle-core/blob/master/CONTRIBUTING.md).
Please have a look at [the core library](https://github.com/auxmoney/OpentracingBundle-core/blob/master/CONTRIBUTING.md).
1 change: 0 additions & 1 deletion Tests/Functional/TestProjectFiles/const-false/.php-version

This file was deleted.

1 change: 0 additions & 1 deletion Tests/Functional/TestProjectFiles/default/.php-version

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"auxmoney/opentracing-bundle-tracer-implementation": "*"
},
"require": {
"php": "^7.3.27",
"php": "^7.4|^8.0",
"ext-json": "*",
"auxmoney/opentracing-bundle-core": "^1.0",
"opentracing/opentracing": "^1.0.1",
Expand Down
Loading

0 comments on commit ebcd7a1

Please sign in to comment.