Skip to content

Commit e5bdbbd

Browse files
committed
lots of cleanup and etc.
1 parent 5589fa0 commit e5bdbbd

245 files changed

Lines changed: 1552 additions & 9208 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ on:
2222

2323
env:
2424
CONSUL_HTTP_ADDR: "127.0.0.1:8500"
25-
CONSUL_VERSION: '1.17.2'
25+
CONSUL_VERSION: '1.20.5'
2626

2727
jobs:
2828
tests:
2929
runs-on: ubuntu-22.04
3030
strategy:
3131
matrix:
32-
php-version: ["8.0", "8.1", "8.2"]
32+
php-version:
33+
- '8.1'
34+
- '8.2'
35+
- '8.3'
36+
- '8.4'
3337

3438
name: Tests - PHP ${{ matrix.php-version }}
3539
steps:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"php-consul-api"
1717
],
1818
"require": {
19-
"php": "8.*",
19+
"php": "^8.1",
2020
"ext-json": "*",
21-
"dcarbone/gotime": "v0.5.*",
21+
"dcarbone/gotime": "^v0.6",
2222
"dcarbone/gohttp": "v0.3.*",
2323
"guzzlehttp/guzzle": "^7.4",
2424
"guzzlehttp/psr7": "^2.4"
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"require-dev": {
36-
"phpunit/phpunit": "@stable"
36+
"phpunit/phpunit": "^10.5 || ^11.0"
3737
},
3838
"autoload-dev": {
3939
"files": [
@@ -46,6 +46,6 @@
4646
}
4747
},
4848
"scripts": {
49-
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --config tools/php-cs-fixer/php-consul-api-rules.php_cs src/"
49+
"php-cs-fixer": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config tools/php-cs-fixer/php-consul-api-rules.php_cs src/"
5050
}
5151
}

0 commit comments

Comments
 (0)