Skip to content

Commit

Permalink
feat!: drop support for php 8.0 and nextcloud <= 29
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Apr 16, 2024
1 parent 61e685c commit c75d353
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 30 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2']
nextcloud-version: ['master', 'stable29', 'stable28', 'stable27']
include:
- php-version: '8.0'
nextcloud-version: stable27
- php-version: '8.0'
nextcloud-version: stable28
- php-version: '8.0'
nextcloud-version: stable29
- php-version: '8.3'
nextcloud-version: stable29
- php-version: '8.3'
nextcloud-version: master
php-version: ['8.1', '8.2', '8.3']
nextcloud-version: ['master']
name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests
steps:
- name: Set up Nextcloud env
Expand Down Expand Up @@ -57,14 +46,11 @@ jobs:
- php-version: '8.1'
nextcloud-version: master
db: 'oci'
- php-version: '8.0'
nextcloud-version: stable27
db: 'pgsql'
- php-version: '8.0'
nextcloud-version: stable28
- php-version: '8.1'
nextcloud-version: master
db: 'pgsql'
- php-version: '8.2'
nextcloud-version: stable29
nextcloud-version: master
db: 'mysql'
name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }}-${{ matrix.db }} integration tests
services:
Expand Down Expand Up @@ -153,8 +139,8 @@ jobs:
name: Front-end E2E tests
strategy:
matrix:
php-version: [ '8.1' ]
nextcloud-version: [ 'master', 'stable29', 'stable28', 'stable27' ]
php-version: [ '8.1', '8.3' ]
nextcloud-version: [ 'master']
node-version: [ '20' ]
steps:
- name: Set up Nextcloud env
Expand Down
7 changes: 4 additions & 3 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<name>Two-Factor WebAuthn</name>
<summary>WebAuthn two-factor provider</summary>
<description>A two-factor provider for WebAuthn devices</description>
<version>1.5.0-alpha.1</version>
<version>2.0.0-alpha.1</version>
<licence>agpl</licence>
<author>Christoph Wurst</author>
<author>Michael Blumenstein</author>
<author>Richard Steinmetz</author>
<namespace>TwoFactorWebauthn</namespace>
<category>security</category>

Expand All @@ -18,9 +19,9 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/twofactor_webauthn/main/screenshots/challenge.png</screenshot>

<dependencies>
<php min-version="8.0" max-version="8.3"/>
<php min-version="8.1" max-version="8.3"/>
<lib>gmp</lib>
<nextcloud min-version="27" max-version="30" />
<nextcloud min-version="30" max-version="30" />
</dependencies>

<repair-steps>
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": ">=8.0.0",
"php": ">=8.1.0",
"ext-json": "*",
"bamarni/composer-bin-plugin": "^1.8.2",
"web-auth/webauthn-lib": "^3.3.12"
Expand Down Expand Up @@ -45,7 +45,7 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.0.0"
"php": "8.1.0"
},
"sort-packages": true,
"allow-plugins": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twofactor_webauthn",
"version": "1.5.0-alpha.1",
"version": "2.0.0-alpha.1",
"description": "WebAuthn second factor provider for Nextcloud",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"config": {
"optimize-autoloader": true,
"platform": {
"php": "8.0.0"
"php": "8.1.0"
},
"sort-packages": true
}
Expand Down

0 comments on commit c75d353

Please sign in to comment.