Skip to content

Commit ae1f11f

Browse files
committed
Drop support for PHP 7.4 and 8.0 (EOL), update requirements to PHP 8.1+
1 parent c71e6c0 commit ae1f11f

4 files changed

Lines changed: 6 additions & 40 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
php-version:
16-
- "7.4"
17-
- "8.0"
1816
- "8.1"
1917
- "8.2"
2018
- "8.3"
@@ -25,36 +23,6 @@ jobs:
2523
symfony-deprecations-helper:
2624
- ""
2725
include:
28-
# PHP 7.4 test matrix
29-
- php-version: "7.4"
30-
deps: "normal"
31-
32-
- php-version: "7.4"
33-
deps: "low"
34-
35-
- php-version: "7.4"
36-
deps: "dev"
37-
38-
# Test Symfony 4 with PHP 7.4
39-
- php-version: "7.4"
40-
deps: "normal"
41-
symfony-require: "4.4.*"
42-
43-
# PHP 8.0 test matrix
44-
- php-version: "8.0"
45-
deps: "normal"
46-
47-
- php-version: "8.0"
48-
deps: "low"
49-
50-
- php-version: "8.0"
51-
deps: "dev"
52-
53-
# Test Symfony 5 with PHP 8.0
54-
- php-version: "8.0"
55-
deps: "normal"
56-
symfony-require: "5.4.*"
57-
5826
# PHP 8.1 test matrix
5927
- php-version: "8.1"
6028
deps: "normal"

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
strategy:
1111
matrix:
1212
php-version:
13-
- "7.4"
14-
- "8.0"
1513
- "8.1"
1614
- "8.2"
1715
- "8.3"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status](https://img.shields.io/github/actions/workflow/status/php-tmdb/api/continuous-integration.yml?label=phpunit)](https://github.com/php-tmdb/api/actions/workflows/continuous-integration.yml)
66
[![Build Status](https://img.shields.io/github/actions/workflow/status/php-tmdb/api/coding-standards.yml?label=phpcs)](https://github.com/php-tmdb/api/actions/workflows/coding-standards.yml)
77
[![codecov](https://img.shields.io/codecov/c/github/php-tmdb/api?token=gTM9AiO5vH)](https://codecov.io/gh/php-tmdb/api)
8-
[![PHP](https://img.shields.io/badge/php->=7.3,%20>=8.0,%20>=8.1,%20>=8.2,%20>=8.3-8892BF.svg)](https://packagist.org/packages/php-tmdb/api)
8+
[![PHP](https://img.shields.io/badge/php->=8.1-8892BF.svg)](https://packagist.org/packages/php-tmdb/api)
99
[![Total Downloads](https://poser.pugx.org/php-tmdb/api/downloads.svg)](https://packagist.org/packages/php-tmdb/api)
1010

1111
Tests run with minimal, normal and development dependencies.

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
"license": "MIT",
3232
"name": "php-tmdb/api",
3333
"require": {
34-
"php": "^7.3 || ^8.0",
34+
"php": "^8.1",
3535
"ext-json": "*",
36-
"symfony/options-resolver": "^4.4 || ^5 || ^6 || ^7",
3736
"psr/cache": "^1 || ^2 || ^3",
3837
"psr/simple-cache": "^1 || ^2 || ^3",
3938
"psr/event-dispatcher": "^1",
@@ -51,16 +50,17 @@
5150
"php-http/mock-client": "^1.2",
5251
"slevomat/coding-standard": "^8.8",
5352
"squizlabs/php_codesniffer": "^3.5.8",
54-
"symfony/cache": "^4.4 || ^5 || ^6 || ^7",
55-
"symfony/event-dispatcher": "^4.4 || ^5 || ^6 || ^7",
53+
"symfony/cache": "^7.0",
54+
"symfony/event-dispatcher": "^7.0",
5655
"phpstan/phpstan": "^1.8.1",
5756
"phpstan/phpstan-deprecation-rules": "^1.1",
5857
"spaze/phpstan-disallowed-calls": "^2.11",
5958
"phpunit/phpunit": "^9.6.3",
6059
"php-http/guzzle7-adapter": "^1.0",
6160
"monolog/monolog": "^2.9.1 || ^3.0",
6261
"php-http/cache-plugin": "^1.7",
63-
"jeroen/psr-log-test-doubles": "^2.1 || ^3"
62+
"jeroen/psr-log-test-doubles": "^2.1 || ^3",
63+
"symfony/options-resolver": "^7.0"
6464
},
6565
"scripts": {
6666
"test": "vendor/bin/phpunit",

0 commit comments

Comments
 (0)