Skip to content

Commit

Permalink
Update php to 8.0 (#237)
Browse files Browse the repository at this point in the history
* Update PHP version to 8.0

* Fix GitHub actions for PHP8.0

* Fix dependencies for PHP8.0

* Remove RUN_TEMPORAL_TEST_SERVER from phpunit.xml
  • Loading branch information
seregazhuk authored Aug 24, 2022
1 parent ee11996 commit 5e15c13
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0]
php: [8.0]
os: [ubuntu-latest]
steps:
- name: Set up PHP ${{ matrix.php }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
php: [ 7.4, 8.0, 8.1 ]
php: [ 8.0, 8.1 ]
os: [ ubuntu-latest , windows-latest]
dependencies: [ lowest , highest ]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
# Note: This workflow requires only the LATEST version of PHP
php: [ 7.4, 8.0 ]
php: [ 8.0 ]
os: [ ubuntu-latest ]
steps:
- name: Set up PHP ${{ matrix.php }}
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,22 @@
"source": "https://github.com/temporalio/sdk-php"
},
"require": {
"php": ">=7.4",
"php": ">=8.0",
"ext-curl": "*",
"ext-json": "*",
"google/common-protos": "^1.3",
"google/protobuf": "^3.20.1",
"grpc/grpc": "^1.34",
"nesbot/carbon": "^2.52.0",
"psr/log": "^1.0.1 || ^2.0 || ^3.0",
"psr/log": "^2.0 || ^3.0",
"react/promise": "^2.8",
"spiral/attributes": "^2.7 || ^3.0",
"spiral/roadrunner-cli": "^2.2",
"spiral/roadrunner-kv": "^2.1",
"spiral/roadrunner-worker": "^2.0.2",
"symfony/filesystem": "^4.4.9|^5.3|^6.0",
"symfony/http-client": "^4.4.11|^5.3|^6.0",
"symfony/polyfill-php80": "^1.23",
"symfony/process": "^4.4.11|^5.3|^6.0"
"spiral/roadrunner-worker": "^2.1.3",
"symfony/filesystem": "^6.0",
"symfony/http-client": "^6.0",
"symfony/process": "^6.0"
},
"autoload": {
"psr-4": {
Expand All @@ -54,7 +53,7 @@
"composer/composer": "^2.0",
"dereuromark/composer-prefer-lowest": "^0.1.10",
"doctrine/annotations": "^1.11",
"friendsofphp/php-cs-fixer": "^2.8",
"friendsofphp/php-cs-fixer": "^3.0",
"illuminate/support": "^7.0",
"jetbrains/phpstorm-attributes": "dev-master@dev",
"laminas/laminas-code": "^4.0",
Expand Down

0 comments on commit 5e15c13

Please sign in to comment.