mirror of https://github.com/nextcloud/contacts
Add PHP8.1 support
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
e4e5217fa2
commit
eda1e721c4
|
@ -17,7 +17,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ["7.4", "8.0"]
|
php-versions: ["7.4", "8.0", "8.1"]
|
||||||
|
|
||||||
name: php-lint
|
name: php-lint
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@v1
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
tools: phpunit
|
tools: phpunit
|
||||||
|
@ -82,8 +82,9 @@ jobs:
|
||||||
databases: ['mysql']
|
databases: ['mysql']
|
||||||
server-versions: ['stable21', 'stable22', 'stable23', 'master']
|
server-versions: ['stable21', 'stable22', 'stable23', 'master']
|
||||||
include:
|
include:
|
||||||
- php-versions: 7.4
|
- php-versions: '8.1'
|
||||||
server-versions: stable23
|
databases: 'mysql'
|
||||||
|
server-versions: master
|
||||||
|
|
||||||
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
||||||
|
|
||||||
|
@ -110,7 +111,7 @@ jobs:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@v1
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
tools: phpunit
|
tools: phpunit
|
||||||
|
@ -176,7 +177,7 @@ jobs:
|
||||||
path: apps/${{ env.APP_NAME }}
|
path: apps/${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Set up php ${{ matrix.php-versions }}
|
- name: Set up php ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@v1
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
tools: phpunit
|
tools: phpunit
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<screenshot>https://raw.githubusercontent.com/nextcloud/screenshots/main/apps/Contacts/contacts.png</screenshot>
|
<screenshot>https://raw.githubusercontent.com/nextcloud/screenshots/main/apps/Contacts/contacts.png</screenshot>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<php min-version="7.3" max-version="8.0" />
|
<php min-version="7.3" max-version="8.1" />
|
||||||
<nextcloud min-version="21" max-version="24" />
|
<nextcloud min-version="21" max-version="24" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
|
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
|
||||||
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
|
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
|
||||||
},
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=7.3 <=8.1"
|
||||||
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"christophwurst/nextcloud_testing": "^0.12.4",
|
"christophwurst/nextcloud_testing": "^0.12.4",
|
||||||
"nextcloud/coding-standard": "^0.5.0",
|
"nextcloud/coding-standard": "^0.5.0",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "b5a4281028c39a616597c799ed0b4d9d",
|
"content-hash": "dba5bbe3402206e45570ddf832c2c0d5",
|
||||||
"packages": [],
|
"packages": [],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
{
|
{
|
||||||
|
@ -4220,10 +4220,12 @@
|
||||||
"stability-flags": [],
|
"stability-flags": [],
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": [],
|
"platform": {
|
||||||
|
"php": ">=7.3 <=8.1"
|
||||||
|
},
|
||||||
"platform-dev": [],
|
"platform-dev": [],
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.3"
|
"php": "7.3"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.1.0"
|
"plugin-api-version": "2.2.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue