Merge pull request #1958 from ArthurHoaro/php-drop-7.3-and-less
Drop support for PHP 7.1, 7.2 and 7.3
This commit is contained in:
commit
08d9347e9a
5 changed files with 916 additions and 795 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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 }}
|
name: PHP ${{ matrix.php-versions }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set locales
|
- name: Set locales
|
||||||
|
|
|
@ -329,7 +329,9 @@ public static function getPhpEol(string $fullVersion): string
|
||||||
'7.2' => '2020-11-30',
|
'7.2' => '2020-11-30',
|
||||||
'7.3' => '2021-12-06',
|
'7.3' => '2021-12-06',
|
||||||
'7.4' => '2022-11-28',
|
'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');
|
][$matches[1]] ?? (new \DateTime('+2 year'))->format('Y-m-d');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
"config": {
|
"config": {
|
||||||
"sort-packages": true,
|
"sort-packages": true,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "7.1.29"
|
"php": "7.4.33"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.1",
|
"php": ">=7.4",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-zlib": "*",
|
"ext-zlib": "*",
|
||||||
"arthurhoaro/web-thumbnailer": "^2.0",
|
"arthurhoaro/web-thumbnailer": "^2.0",
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"squizlabs/php_codesniffer": "3.*",
|
"squizlabs/php_codesniffer": "^3.0",
|
||||||
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
|
"phpunit/phpunit": "^9.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-curl": "Allows fetching web pages and thumbnails in a more robust way",
|
"ext-curl": "Allows fetching web pages and thumbnails in a more robust way",
|
||||||
|
|
1691
composer.lock
generated
1691
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -43,9 +43,9 @@ Version | Status | Shaarli compatibility
|
||||||
8.1 | Supported | Yes
|
8.1 | Supported | Yes
|
||||||
8.0 | EOL: 2023-11-26| Yes
|
8.0 | EOL: 2023-11-26| Yes
|
||||||
7.4 | EOL: 2022-11-28 | Yes
|
7.4 | EOL: 2022-11-28 | Yes
|
||||||
7.3 | EOL: 2021-12-06 | Yes (up to Shaarli 0.12.1)
|
7.3 | EOL: 2021-12-06 | Yes (up to Shaarli 0.12.2)
|
||||||
7.2 | EOL: 2020-11-30 | Yes (up to Shaarli 0.12.1)
|
7.2 | EOL: 2020-11-30 | Yes (up to Shaarli 0.12.2)
|
||||||
7.1 | EOL: 2019-12-01 | Yes (up to Shaarli 0.12.1)
|
7.1 | EOL: 2019-12-01 | Yes (up to Shaarli 0.12.2)
|
||||||
7.0 | EOL: 2018-12-03 | Yes (up to Shaarli 0.10.x)
|
7.0 | EOL: 2018-12-03 | Yes (up to Shaarli 0.10.x)
|
||||||
5.6 | EOL: 2018-12-31 | Yes (up to Shaarli 0.10.x)
|
5.6 | EOL: 2018-12-31 | Yes (up to Shaarli 0.10.x)
|
||||||
5.5 | EOL: 2016-07-10 | Yes
|
5.5 | EOL: 2016-07-10 | Yes
|
||||||
|
|
Loading…
Reference in a new issue