Skip to content

Commit 4eec8b2

Browse files
committed
Fix composer dependencies and corresponding github ci strategy
1 parent 536e34d commit 4eec8b2

2 files changed

Lines changed: 32 additions & 16 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
php-version:
1616
- "7.3"
1717
- "7.4"
18+
- "8.0"
19+
- "8.1"
1820
deps:
1921
- "normal"
2022
symfony-require:
@@ -41,6 +43,21 @@ jobs:
4143
deps: "dev"
4244

4345
- php-version: "8.0"
46+
deps: "normal"
47+
48+
- php-version: "8.0"
49+
deps: "low"
50+
51+
- php-version: "8.0"
52+
deps: "dev"
53+
54+
- php-version: "8.1"
55+
deps: "normal"
56+
57+
- php-version: "8.1"
58+
deps: "low"
59+
60+
- php-version: "8.1"
4461
deps: "dev"
4562

4663
steps:

composer.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,28 @@
3131
"license": "MIT",
3232
"name": "php-tmdb/api",
3333
"require": {
34-
"php": "^7.3 || ^7.4 || ^8.0",
34+
"php": "^7.3 || ^7.4 || ^8.0 || ^8.1",
3535
"ext-json": "*",
36-
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
37-
"psr/cache": "^1.0 || ^2.0 || ^3.0",
38-
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
39-
"psr/event-dispatcher": "^1.0",
40-
"psr/event-dispatcher-implementation": "^1.0",
41-
"psr/log": "^1.0 || ^2.0 || ^3.0",
36+
"symfony/options-resolver": ">=4.4 || ^5 || ^6",
37+
"psr/cache": "^1 || ^2 || ^3",
38+
"psr/simple-cache": "^1 || ^2 || ^3",
39+
"psr/event-dispatcher": "^1",
40+
"psr/event-dispatcher-implementation": "^1",
41+
"psr/log": "^1 || ^2 || ^3",
4242
"php-http/discovery": "^1.11",
43-
"psr/http-client": "^1.0",
44-
"psr/http-client-implementation": "^1.0",
45-
"psr/http-factory": "^1.0",
46-
"psr/http-factory-implementation": "^1.0",
47-
"psr/http-message": "^1.0"
43+
"psr/http-client": "^1",
44+
"psr/http-client-implementation": "^1",
45+
"psr/http-factory": "^1",
46+
"psr/http-factory-implementation": "^1",
47+
"psr/http-message": "^1"
4848
},
4949
"require-dev": {
5050
"nyholm/psr7": "^1.2",
51-
"friendsofphp/php-cs-fixer": "^2.17",
5251
"php-http/mock-client": "^1.2",
53-
"slevomat/coding-standard": "^6.4.1",
52+
"slevomat/coding-standard": "^6.4",
5453
"squizlabs/php_codesniffer": "^3.5.8",
55-
"symfony/cache": ">=4.4,<6",
56-
"symfony/event-dispatcher": "^5.0,<6",
54+
"symfony/cache": ">=4.4 || ^5 || ^6",
55+
"symfony/event-dispatcher": ">=4.4 || ^5 || ^6",
5756
"phpstan/phpstan": "^0.12.18",
5857
"phpunit/phpunit": "^7.5 || ^8.0 || ^9.3",
5958
"php-http/guzzle7-adapter": "^0.1",

0 commit comments

Comments
 (0)