Skip to content

Commit

Permalink
Merge pull request #119 from dkemper/add-php81-support-for-package
Browse files Browse the repository at this point in the history
Resolve #118, added php 8.1 support for library
  • Loading branch information
sergeyklay authored Apr 11, 2022
2 parents 60a5e60 + 17ca66d commit 3d56b89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
],
"require": {
"php": "^7.1 || ^8.0",
"php": "^7.1 || ^8.0 || ^8.1",
"ext-sockets": "*",
"opentracing/opentracing": "^1.0",
"packaged/thrift": "^0.13",
Expand Down
1 change: 1 addition & 0 deletions src/Jaeger/SpanContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function __construct($traceId, $spanId, $parentId, $flags = null, $baggag
/**
* {@inheritdoc}
*/
#[\ReturnTypeWillChange]
public function getIterator()
{
return new ArrayIterator($this->baggage);
Expand Down

0 comments on commit 3d56b89

Please sign in to comment.