diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ce3b991d..cc971e68 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -15,6 +15,8 @@ jobs: php-version: - "7.3" - "7.4" + - "8.0" + - "8.1" deps: - "normal" symfony-require: @@ -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: diff --git a/composer.json b/composer.json index fa9652ab..f1d06856 100644 --- a/composer.json +++ b/composer.json @@ -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",