Skip to content

Commit 8fcc5c2

Browse files
authored
Test against PHP v8.5; Drop Composer v2.6 and v2.7 tests (#26)
* Test against PHP v8.5 * Test: Drop Composer v2.6 and v2.7 tests
1 parent eedd529 commit 8fcc5c2

17 files changed

+4
-51
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
strategy:
104104
matrix:
105105
php-version: ${{ fromJSON(needs.php-matrix.outputs.versions) }}
106-
composer-version: ['2.6', '2.7', '2.8', '2.9']
106+
composer-version: ['2.8', '2.9']
107107
runs-on: ubuntu-latest
108108
env:
109109
GOFLAGS: '-mod=mod'

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
export GOFLAGS=-mod=mod
22

33
combos := php-8-composer-latest \
4+
php-8.5-composer-2.9 \
5+
php-8.5-composer-2.8 \
46
php-8.4-composer-2.9 \
57
php-8.4-composer-2.8 \
6-
php-8.4-composer-2.7 \
7-
php-8.4-composer-2.6 \
88
php-8.3-composer-2.9 \
9-
php-8.3-composer-2.8 \
10-
php-8.3-composer-2.7 \
11-
php-8.3-composer-2.6
9+
php-8.3-composer-2.8
1210

1311
buildflags ?= --quiet
1412

testdata/script/audit_dist_closed.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ cmp stdout golden.out
3030
"allow-plugins": {
3131
"composer/installers": true,
3232
"typisttech/wp-org-closed-plugin": true
33-
},
34-
"audit": {
35-
"abandoned": "fail"
3633
}
3734
}
3835
}

testdata/script/audit_dist_open.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ cmp stdout golden.out
3030
"allow-plugins": {
3131
"composer/installers": true,
3232
"typisttech/wp-org-closed-plugin": true
33-
},
34-
"audit": {
35-
"abandoned": "fail"
3633
}
3734
}
3835
}

testdata/script/audit_source_closed.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ cmp stdout golden.out
3131
"allow-plugins": {
3232
"composer/installers": true,
3333
"typisttech/wp-org-closed-plugin": true
34-
},
35-
"audit": {
36-
"abandoned": "fail"
3734
}
3835
}
3936
}

testdata/script/audit_source_open.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ cmp stdout golden.out
3131
"allow-plugins": {
3232
"composer/installers": true,
3333
"typisttech/wp-org-closed-plugin": true
34-
},
35-
"audit": {
36-
"abandoned": "fail"
3734
}
3835
}
3936
}

testdata/script/audit_warn_locked.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ stderr 'Skipped checking for closed plugins because of --locked\.'
3131
"allow-plugins": {
3232
"composer/installers": true,
3333
"typisttech/wp-org-closed-plugin": true
34-
},
35-
"audit": {
36-
"abandoned": "fail"
3734
}
3835
}
3936
}

testdata/script/audit_wpackagist_closed.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ cmp stdout golden.out
2323
"allow-plugins": {
2424
"composer/installers": true,
2525
"typisttech/wp-org-closed-plugin": true
26-
},
27-
"audit": {
28-
"abandoned": "fail"
2926
}
3027
}
3128
}

testdata/script/audit_wpackagist_open.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ cmp stdout golden.out
2323
"allow-plugins": {
2424
"composer/installers": true,
2525
"typisttech/wp-org-closed-plugin": true
26-
},
27-
"audit": {
28-
"abandoned": "fail"
2926
}
3027
}
3128
}

testdata/script/install_dist_closed.txtar

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ stderr -count=1 'Package wpackagist-plugin/better-delete-revision is abandoned'
3333
"allow-plugins": {
3434
"composer/installers": true,
3535
"typisttech/wp-org-closed-plugin": true
36-
},
37-
"audit": {
38-
"abandoned": "fail"
3936
}
4037
}
4138
}

0 commit comments

Comments
 (0)