feat(deps): Revive PHP7.4 support

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-03-02 09:57:41 +01:00
parent 71b2c8fee9
commit 5d88b229fc
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
9 changed files with 42 additions and 37 deletions

View File

@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ "8.0", "8.1", "8.2" ]
php-versions: [ "7.4", "8.0", "8.1", "8.2" ]
name: php-lint

View File

@ -7,7 +7,12 @@ jobs:
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
nextcloud-versions: ['master', 'stable25']
nextcloud-versions: ['master']
include:
- php-versions: '7.4'
nextcloud-versions: 'stable25'
- php-versions: '8.1'
nextcloud-versions: 'stable25'
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
env:
CI: true

View File

@ -34,7 +34,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_room_suggestion.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_sidebar.png</screenshot>
<dependencies>
<php min-version="8.0" max-version="8.2" />
<php min-version="7.4" max-version="8.2" />
<nextcloud min-version="25" max-version="26" />
</dependencies>
<background-jobs>

View File

@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "7.4"
},
"sort-packages": true,
"optimize-autoloader": true,
@ -17,7 +17,7 @@
}
},
"require": {
"php": ">=8.0 <=8.2",
"php": ">=7.4 <=8.2",
"bamarni/composer-bin-plugin": "^1.8"
},
"scripts": {

6
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "641a772d4ee3bb607072c3d677f3e4d7",
"content-hash": "33e78d93b67b5dbdcbf1d58825e14cdc",
"packages": [
{
"name": "bamarni/composer-bin-plugin",
@ -71,11 +71,11 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=8.0 <=8.2"
"php": ">=7.4 <=8.2"
},
"platform-dev": [],
"platform-overrides": {
"php": "8.0"
"php": "7.4"
},
"plugin-api-version": "2.3.0"
}

View File

@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "7.4"
},
"sort-packages": true
},

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d25ea107d29a44b7217d1397c456142e",
"content-hash": "3a73a75c68f7f6783d2d42b988c9f46f",
"packages": [],
"packages-dev": [
{
@ -555,20 +555,20 @@
},
{
"name": "psr/cache",
"version": "3.0.0",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/cache.git",
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf"
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
"reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
"php": ">=5.3.0"
},
"type": "library",
"extra": {
@ -588,7 +588,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for caching libraries",
@ -598,9 +598,9 @@
"psr-6"
],
"support": {
"source": "https://github.com/php-fig/cache/tree/3.0.0"
"source": "https://github.com/php-fig/cache/tree/master"
},
"time": "2021-02-03T23:26:27+00:00"
"time": "2016-08-06T20:24:11+00:00"
},
{
"name": "psr/container",
@ -702,30 +702,30 @@
},
{
"name": "psr/log",
"version": "2.0.0",
"version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376"
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376",
"reference": "ef29f6d262798707a9edd554e2b82517ef3a9376",
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "src"
"Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -746,9 +746,9 @@
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/2.0.0"
"source": "https://github.com/php-fig/log/tree/1.1.4"
},
"time": "2021-07-14T16:41:46+00:00"
"time": "2021-05-03T11:20:27+00:00"
},
{
"name": "sebastian/diff",
@ -2215,7 +2215,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "8.0"
"php": "7.4"
},
"plugin-api-version": "2.3.0"
}

View File

@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "7.4"
},
"sort-packages": true
},

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "136b0e6ce0d00237976f058d6ff81247",
"content-hash": "0aa5ebfff727303cacb5d4c4088725f1",
"packages": [],
"packages-dev": [
{
@ -1966,16 +1966,16 @@
},
{
"name": "symfony/process",
"version": "v5.4.19",
"version": "v5.4.21",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "c5ba874c9b636dbccf761e22ce750e88ec3f55e1"
"reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/c5ba874c9b636dbccf761e22ce750e88ec3f55e1",
"reference": "c5ba874c9b636dbccf761e22ce750e88ec3f55e1",
"url": "https://api.github.com/repos/symfony/process/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd",
"reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd",
"shasum": ""
},
"require": {
@ -2008,7 +2008,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v5.4.19"
"source": "https://github.com/symfony/process/tree/v5.4.21"
},
"funding": [
{
@ -2024,7 +2024,7 @@
"type": "tidelift"
}
],
"time": "2023-01-01T08:32:19+00:00"
"time": "2023-02-21T19:46:44+00:00"
},
{
"name": "theseer/tokenizer",
@ -2085,7 +2085,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "8.0"
"php": "7.4"
},
"plugin-api-version": "2.3.0"
}