Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Drop support for PHP 7.1, 7.2 and 7.3 #1958

Merged
merged 2 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.4', '8.0', '8.1', '8.2']
name: PHP ${{ matrix.php-versions }}
steps:
- name: Set locales
Expand Down
4 changes: 3 additions & 1 deletion application/helper/ApplicationUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ public static function getPhpEol(string $fullVersion): string
'7.2' => '2020-11-30',
'7.3' => '2021-12-06',
'7.4' => '2022-11-28',
'8.0' => '2023-12-01',
'8.0' => '2023-11-26',
'8.1' => '2024-11-25',
'8.2' => '2025-12-08',
][$matches[1]] ?? (new \DateTime('+2 year'))->format('Y-m-d');
}
}
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"config": {
"sort-packages": true,
"platform": {
"php": "7.1.29"
"php": "7.4.33"
}
},
"require": {
"php": ">=7.1",
"php": ">=7.4",
"ext-json": "*",
"ext-zlib": "*",
"arthurhoaro/web-thumbnailer": "^2.0",
Expand All @@ -31,8 +31,8 @@
},
"require-dev": {
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
"squizlabs/php_codesniffer": "^3.0",
"phpunit/phpunit": "^9.0"
},
"suggest": {
"ext-curl": "Allows fetching web pages and thumbnails in a more robust way",
Expand Down
Loading