Skip to content

Commit af52c60

Browse files
authored
Merge pull request #256 from php-tmdb/feature/fix-composer
Increase compatibility with php versions and libraries ( and deprecated old stuff :-) )
2 parents 536e34d + 2cbe0bf commit af52c60

File tree

2 files changed

+33
-17
lines changed

2 files changed

+33
-17
lines changed

.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: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,30 @@
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",
58-
"phpunit/phpunit": "^7.5 || ^8.0 || ^9.3",
57+
"phpunit/phpunit": ">=8.5.23 || ^9.3",
5958
"php-http/guzzle7-adapter": "^0.1",
6059
"monolog/monolog": ">=1.11.0",
6160
"vimeo/psalm": "^4",

0 commit comments

Comments
 (0)