Skip to content

Commit

Permalink
Merge pull request #256 from php-tmdb/feature/fix-composer
Browse files Browse the repository at this point in the history
Increase compatibility with php versions and libraries ( and deprecated old stuff :-) )
  • Loading branch information
wtfzdotnet authored Jun 20, 2022
2 parents 536e34d + 2cbe0bf commit af52c60
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
php-version:
- "7.3"
- "7.4"
- "8.0"
- "8.1"
deps:
- "normal"
symfony-require:
Expand All @@ -41,6 +43,21 @@ jobs:
deps: "dev"

- php-version: "8.0"
deps: "normal"

- php-version: "8.0"
deps: "low"

- php-version: "8.0"
deps: "dev"

- php-version: "8.1"
deps: "normal"

- php-version: "8.1"
deps: "low"

- php-version: "8.1"
deps: "dev"

steps:
Expand Down
33 changes: 16 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,30 @@
"license": "MIT",
"name": "php-tmdb/api",
"require": {
"php": "^7.3 || ^7.4 || ^8.0",
"php": "^7.3 || ^7.4 || ^8.0 || ^8.1",
"ext-json": "*",
"symfony/options-resolver": "^4.4 || ^5.0 || ^6.0",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"psr/event-dispatcher": "^1.0",
"psr/event-dispatcher-implementation": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/options-resolver": ">=4.4 || ^5 || ^6",
"psr/cache": "^1 || ^2 || ^3",
"psr/simple-cache": "^1 || ^2 || ^3",
"psr/event-dispatcher": "^1",
"psr/event-dispatcher-implementation": "^1",
"psr/log": "^1 || ^2 || ^3",
"php-http/discovery": "^1.11",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-factory-implementation": "^1.0",
"psr/http-message": "^1.0"
"psr/http-client": "^1",
"psr/http-client-implementation": "^1",
"psr/http-factory": "^1",
"psr/http-factory-implementation": "^1",
"psr/http-message": "^1"
},
"require-dev": {
"nyholm/psr7": "^1.2",
"friendsofphp/php-cs-fixer": "^2.17",
"php-http/mock-client": "^1.2",
"slevomat/coding-standard": "^6.4.1",
"slevomat/coding-standard": "^6.4",
"squizlabs/php_codesniffer": "^3.5.8",
"symfony/cache": ">=4.4,<6",
"symfony/event-dispatcher": "^5.0,<6",
"symfony/cache": ">=4.4 || ^5 || ^6",
"symfony/event-dispatcher": ">=4.4 || ^5 || ^6",
"phpstan/phpstan": "^0.12.18",
"phpunit/phpunit": "^7.5 || ^8.0 || ^9.3",
"phpunit/phpunit": ">=8.5.23 || ^9.3",
"php-http/guzzle7-adapter": "^0.1",
"monolog/monolog": ">=1.11.0",
"vimeo/psalm": "^4",
Expand Down

0 comments on commit af52c60

Please sign in to comment.